Skip to content

Commit 05eff70

Browse files
blussChristian Günther
authored and
Christian Günther
committed
Run cargo fmt
1 parent fc0f0ef commit 05eff70

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ndarray-linalg/tests/inv.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ fn inv_into_random_complex() {
106106
#[should_panic]
107107
fn inv_error() {
108108
// do not have inverse
109-
let a = Array::<f64, _>::zeros(9).into_shape_with_order((3, 3)).unwrap();
109+
let a = Array::<f64, _>::zeros(9)
110+
.into_shape_with_order((3, 3))
111+
.unwrap();
110112
let a_inv = a.inv().unwrap();
111113
println!("{:?}", a_inv);
112114
}

ndarray-linalg/tests/opnorm.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ fn gen(i: usize, j: usize, rev: bool) -> Array2<f64> {
1818
.unwrap()
1919
.reversed_axes()
2020
} else {
21-
Array::range(1., n, 1.).into_shape_with_order((i, j)).unwrap()
21+
Array::range(1., n, 1.)
22+
.into_shape_with_order((i, j))
23+
.unwrap()
2224
}
2325
}
2426

0 commit comments

Comments
 (0)