You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>using Turing
julia>@modelfunctionf(x)
x ~Normal()
end
f (generic function with 2 methods)
julia>sample(f(1.0), NUTS(), 100)
Sampling 100%|██████████████████████████████████████████| Time:0:00:00
ERROR: ArgumentError: reducing over an empty collection is not allowed; consider supplying `init` to the reducer
[...]
I think check_model() should probably error if the model is empty.