Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
goulart-paul committed Feb 12, 2025
1 parent 839dff1 commit 8fd7afe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/algebra/dense/blas/svd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ macro_rules! generate_test_svd_factor {
let sol = [5., 3.];
assert!(eng.s.norm_inf_diff(&sol) < (1e-12 as $fxx).$tolfn());

let mut M = Matrix::<$fxx>::zeros((2, 3));
let mut M = Matrix::<$fxx>::zeros((1, 1));
M.resize((2, 3)); //manual resize for test coverage

let U = &eng.U;
let s = &eng.s;
Expand Down

0 comments on commit 8fd7afe

Please sign in to comment.