Skip to content

Commit 3d7df5c

Browse files
committed
TEST: Stop using ndarray-rand F32 in tests
1 parent abb0f9e commit 3d7df5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xtest-numeric/tests/accuracy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ extern crate rand;
66

77
extern crate numeric_tests;
88

9-
use ndarray_rand::{RandomExt, F32};
9+
use ndarray_rand::RandomExt;
1010
use rand::{Rng, SeedableRng};
1111
use rand::rngs::SmallRng;
1212

@@ -55,7 +55,7 @@ fn reference_mat_mul<A, S, S2>(lhs: &ArrayBase<S, Ix2>, rhs: &ArrayBase<S2, Ix2>
5555
fn gen<D>(d: D) -> Array<f32, D>
5656
where D: Dimension,
5757
{
58-
Array::random(d, F32(Normal::new(0., 1.).unwrap()))
58+
Array::random(d, Normal::new(0., 1.).unwrap())
5959
}
6060
fn gen_f64<D>(d: D) -> Array<f64, D>
6161
where D: Dimension,

0 commit comments

Comments
 (0)