Skip to content

Commit 1b17b65

Browse files
committed
Remove redundant test
The body of `cholesky_t()` was identical to the body of `cholesky()`.
1 parent d202d75 commit 1b17b65

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/cholesky.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,3 @@ fn cholesky() {
1515
println!("cc = \n{:?}", c.t().dot(&c));
1616
assert_close_l2!(&c.t().dot(&c), &a, 1e-7);
1717
}
18-
19-
#[test]
20-
fn cholesky_t() {
21-
let a: Array2<f64> = random_hpd(3);
22-
println!("a = \n{:?}", a);
23-
let c: Array2<_> = (&a).cholesky(UPLO::Upper).unwrap();
24-
println!("c = \n{:?}", c);
25-
println!("cc = \n{:?}", c.t().dot(&c));
26-
assert_close_l2!(&c.t().dot(&c), &a, 1e-7);
27-
}

0 commit comments

Comments
 (0)