Skip to content

Commit

Permalink
Run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Dec 20, 2024
1 parent 271e041 commit 373192d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ndarray-linalg/tests/inv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ fn inv_into_random_complex() {
#[should_panic]
fn inv_error() {
// do not have inverse
let a = Array::<f64, _>::zeros(9).into_shape_with_order((3, 3)).unwrap();
let a = Array::<f64, _>::zeros(9)
.into_shape_with_order((3, 3))
.unwrap();
let a_inv = a.inv().unwrap();
println!("{:?}", a_inv);
}
Expand Down
4 changes: 3 additions & 1 deletion ndarray-linalg/tests/opnorm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ fn gen(i: usize, j: usize, rev: bool) -> Array2<f64> {
.unwrap()
.reversed_axes()
} else {
Array::range(1., n, 1.).into_shape_with_order((i, j)).unwrap()
Array::range(1., n, 1.)
.into_shape_with_order((i, j))
.unwrap()
}
}

Expand Down

0 comments on commit 373192d

Please sign in to comment.