Skip to content

Commit 10474c9

Browse files
committed
Fix benchmarks
1 parent 7b04dbd commit 10474c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benches/distributions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ distr_int!(distr_binomial, u64, Binomial::new(20, 0.7));
207207
distr_int!(distr_binomial_small, u64, Binomial::new(1000000, 1e-30));
208208
distr_int!(distr_poisson, u64, Poisson::new(4.0));
209209
distr!(distr_bernoulli, bool, Bernoulli::new(0.18));
210-
distr_arr!(distr_circle, [f64; 2], UnitCircle::new());
211-
distr_arr!(distr_sphere_surface, [f64; 3], UnitSphereSurface::new());
210+
distr_arr!(distr_circle, [f64; 2], UnitCircle);
211+
distr_arr!(distr_sphere_surface, [f64; 3], UnitSphereSurface);
212212

213213
// Weighted
214214
distr_int!(distr_weighted_i8, usize, WeightedIndex::new(&[1i8, 2, 3, 4, 12, 0, 2, 1]).unwrap());

0 commit comments

Comments
 (0)