Skip to content

Commit

Permalink
Update sprs/src/sparse/linalg/bicgstab.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Magnus Ulimoen <[email protected]>
  • Loading branch information
jlogan03 and mulimoen authored Oct 8, 2023
1 parent 518e6ba commit d597dd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sprs/src/sparse/linalg/bicgstab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,10 @@ mod test {
b.to_dense().iter().zip(b_recovered.to_dense().iter())
{
assert!(
(1.0 - input / output).abs() < tol,
approx::relative_eq!(input, output, max_relative = tol),
"Solved output did not match input"
);

}
}

Expand Down

0 comments on commit d597dd2

Please sign in to comment.