Skip to content

Commit

Permalink
add large_matrix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Dec 4, 2024
1 parent 143f6ed commit aab0de3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/large_matrix.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
use rlst::rlst_dynamic_array2;

#[test]
fn inverse_100() {
let size = 100;
let mut m = rlst_dynamic_array2!(f64, [size, size]);
for i in 0..size {
m[[i, i]] = 1.0;
}
m.view_mut().into_inverse_alloc().unwrap();
}

0 comments on commit aab0de3

Please sign in to comment.