diff --git a/tests/large_matrix.rs b/tests/large_matrix.rs new file mode 100644 index 0000000..fdb11dc --- /dev/null +++ b/tests/large_matrix.rs @@ -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(); +}