We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that Uniform always samples Float64?
Float64
using Distributions @show typeof(rand(Normal(0f0, 1f0))) # Float32 as expected @show typeof(rand(Uniform(0f0, 1f0))) # Float64 gotcha
The text was updated successfully, but these errors were encountered:
Yes, this is intended. Actually, Normal is the odd fish here.
Normal
I'll close this since it is a duplicate of #1071.
Sorry, something went wrong.
Ok thanks!
No branches or pull requests
It seems that Uniform always samples
Float64
?The text was updated successfully, but these errors were encountered: