Skip to content

Commit

Permalink
Debug CR on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Jan 20, 2025
1 parent 9e25089 commit ac27e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_cr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

# Test with Jacobi (or diagonal) preconditioner
A, b, M = square_preconditioned(FC=FC)
(x, stats) = cr(A, b, M=M, atol=1e-6, rtol=0.0)
(x, stats) = cr(A, b, M=M, atol=1e-10, rtol=0.0, verbose=1)
r = b - A * x
resid = sqrt(real(dot(r, M * r))) / sqrt(real(dot(b, M * b)))
@test(resid cr_tol)
Expand Down

0 comments on commit ac27e09

Please sign in to comment.