Closed gipert closed 5 days ago
That's strange, we have used truncated priors a lot - I'll fix this.
Ah, with d = truncated(Normal(0, 2), lower=0)
we have d.upper isa Nothing
, which ValueShapes.realnumtype
currently can't handle.
Just use truncated(Normal(0, 2), 0, Inf)
for now, I'll fix this in ValueShapes.
Will be fixed by https://github.com/oschulz/ValueShapes.jl/pull/78
Fixed in ValueShapes v0.11.3 .
Thanks Oli!
BAT crashes deterministically when attempting to use truncated distributions as priors. If I set, in
docs/src/bat_tutorial.jl
:I get:
any workaround?