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
With rand_distr = "0.4.3" and rand = "0.8.5" I was able to sample -1.0 by providing small enough values of lambda.
rand_distr = "0.4.3"
rand = "0.8.5"
-1.0
use rand_distr::{Distribution,Poisson}; use rand::thread_rng; fn main() { let poisson_dist: Poisson<f32> = Poisson::new(0.0000000002).unwrap(); println!("{:?}", poisson_dist.sample(&mut thread_rng())); let poisson_dist: Poisson<f64> = Poisson::new(0.0000000000000000002).unwrap(); println!("{:?}", poisson_dist.sample(&mut thread_rng())); }
The text was updated successfully, but these errors were encountered:
I can reproduce the bug with the versions listed, but not with the latest alpha releases.
Sorry, something went wrong.
No branches or pull requests
With
rand_distr = "0.4.3"
andrand = "0.8.5"
I was able to sample-1.0
by providing small enough values of lambda.The text was updated successfully, but these errors were encountered: