Fix type inference error in tests on rustc beta
This commit is contained in:
parent
9948bf7e23
commit
1cfc539a96
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue