You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the parameter of the Poisson distribution is set to f64::INFINITY the sample function doesn't panic but instead loop and never stops. For example:
use rand_distr::{Poisson,Distribution};fnmain(){let lambda = f64::INFINITY;let poi = Poisson::new(lambda).unwrap();println!("{:?}", poi.sample(&mut rand::thread_rng()));}
The text was updated successfully, but these errors were encountered:
When the parameter of the Poisson distribution is set to f64::INFINITY the sample function doesn't panic but instead loop and never stops. For example:
The text was updated successfully, but these errors were encountered: