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

View File

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