From 1cfc539a96fde2912c5ff5b4d235c652e1e259f6 Mon Sep 17 00:00:00 2001 From: Yotam Ofek Date: Fri, 22 Mar 2024 18:41:41 +0000 Subject: [PATCH] Fix type inference error in tests on rustc beta --- src/linalg/symmetric_eigen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linalg/symmetric_eigen.rs b/src/linalg/symmetric_eigen.rs index 61e1d0c1..70cad8a1 100644 --- a/src/linalg/symmetric_eigen.rs +++ b/src/linalg/symmetric_eigen.rs @@ -360,7 +360,7 @@ mod test { #[test] fn wilkinson_shift_random() { for _ in 0..1000 { - let m = Matrix2::new_random(); + let m = Matrix2::::new_random(); let m = m * m.transpose(); let expected = expected_shift(m);