Skip to content

Commit ea31f3d

Browse files
committed
Fix nightly build
1 parent a4ded98 commit ea31f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/histogram_const.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ fn mul() {
232232
fn variance() {
233233
let mut h = Histogram10::with_const_width(-3., 3.);
234234
let normal = rand_distr::Normal::new(0., 1.).unwrap();
235-
let mut rng = rand_xoshiro::Xoshiro256StarStar::from_entropy();
235+
let mut rng = rand_xoshiro::Xoshiro256StarStar::from_os_rng();
236236
for _ in 0..1000000 {
237237
let _ = h.add(normal.sample(&mut rng));
238238
}

0 commit comments

Comments
 (0)