Skip to content

Commit

Permalink
Fix type inference error in tests on rustc beta
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamofek authored and Ralith committed Mar 22, 2024
1 parent 9948bf7 commit 1cfc539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linalg/symmetric_eigen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1cfc539

Please sign in to comment.