Fix type inference error in tests on rustc beta

This commit is contained in:
Yotam Ofek 2024-03-22 18:41:41 +00:00 committed by Benjamin Saunders
parent 9948bf7e23
commit 1cfc539a96
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ mod test {
#[test]
fn wilkinson_shift_random() {
for _ in 0..1000 {
let m = Matrix2::new_random();
let m = Matrix2::<f64>::new_random();
let m = m * m.transpose();
let expected = expected_shift(m);