Skip to content

Commit 1cfc539

Browse files
yotamofekRalith
authored andcommitted
Fix type inference error in tests on rustc beta
1 parent 9948bf7 commit 1cfc539

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/linalg/symmetric_eigen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ mod test {
360360
#[test]
361361
fn wilkinson_shift_random() {
362362
for _ in 0..1000 {
363-
let m = Matrix2::new_random();
363+
let m = Matrix2::<f64>::new_random();
364364
let m = m * m.transpose();
365365

366366
let expected = expected_shift(m);

0 commit comments

Comments
 (0)