We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67cbfe1 commit 7bf4b62Copy full SHA for 7bf4b62
xtest-blas/tests/oper.rs
@@ -59,14 +59,14 @@ fn range_mat_complex(m: Ix, n: Ix) -> Array2<Complex32> {
59
Array::linspace(0., (m * n) as f32 - 1., m * n)
60
.into_shape((m, n))
61
.unwrap()
62
- .map_mut(|&mut f| Complex32::new(f, 0.))
+ .map(|&f| Complex32::new(f, 0.))
63
}
64
65
fn range_mat_complex64(m: Ix, n: Ix) -> Array2<Complex64> {
66
Array::linspace(0., (m * n) as f64 - 1., m * n)
67
68
69
- .map_mut(|&mut f| Complex64::new(f, 0.))
+ .map(|&f| Complex64::new(f, 0.))
70
71
72
fn range1_mat64(m: Ix) -> Array1<f64> {
0 commit comments