-
-
Notifications
You must be signed in to change notification settings - Fork 473
Closed
Labels
A-degenerateAlgorithm fails on some inputAlgorithm fails on some inputX-bugType: bug reportType: bug report
Description
let distr = Binomial::new(1 << 31, f64::MIN_POSITIVE).unwrap();
let x = thread_rng().sample(distr);
println!("{}", x);
panics with Uniform::new called with low >= high
at:
rand/rand_distr/src/binomial.rs
Line 180 in 1f4507a
let gen_u = Uniform::new(0., p4).unwrap(); |
Metadata
Metadata
Assignees
Labels
A-degenerateAlgorithm fails on some inputAlgorithm fails on some inputX-bugType: bug reportType: bug report