diff --git a/test/test_cr.jl b/test/test_cr.jl index f07628a7b..69e1468f6 100644 --- a/test/test_cr.jl +++ b/test/test_cr.jl @@ -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)