-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Thanks for the great package that Chad Scherrer introduced me to!
Currently,
julia> Bernoulli(Particles(10, Uniform()))
ERROR: TypeError: non-boolean (Particles{Bool,10}) used in boolean contextis an error due to the check_args call. You can get around this with Bernoulli(Particles(10, Uniform()), check_args=false), but it would be nice if that weren't needed. Would it be dangerous/too special-cased if a Particles{Bool} with all 1s behaved like a true in a conditional?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels