-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NaN Particles #91
Comments
It comes from this julia> std(rand(Normal(0,Inf), 10))
NaN
julia> Normal(0,NaN)
ERROR: ArgumentError: Normal: the condition σ >= zero(σ) is not satisfied. |
It's feels a bit "wat?", but it's ok to close this. |
Do you have an application where the semantics for infinite ra dom numbers is important? If not we can probably close this issue as I'm not sure if it makes sense to modify the behavior to give something other than nan. |
No, my worry was more that |
This seems inconsistent:
The text was updated successfully, but these errors were encountered: