Small fix.

This commit is contained in:
2020-09-08 15:46:32 +02:00
parent 571bf29bb9
commit 071cbbdc82

View File

@@ -35,9 +35,7 @@ pub fn solve(mut a: Array2<f64>, mut b: Array2<f64>) -> Array2<f64> {
info = lapacke::dgesv(layout, n, nrhs, a_slice, lda, &mut ipiv, b_slice, ldb);
}
if info != 0 {
panic!("info={}", info);
}
assert!(info == 0, "info={}", info);
b
}