From 72ce0af2549f6f1aa473f15da190e1a8449b652e Mon Sep 17 00:00:00 2001 From: Alexis Montoison <35051714+amontoison@users.noreply.github.com> Date: Mon, 20 Jan 2025 11:49:14 -0600 Subject: [PATCH] Update test_cr.jl --- test/test_cr.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_cr.jl b/test/test_cr.jl index 45366ce45..f07628a7b 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) + (x, stats) = cr(A, b, M=M, atol=1e-6, rtol=0.0) r = b - A * x resid = sqrt(real(dot(r, M * r))) / sqrt(real(dot(b, M * b))) @test(resid ≤ cr_tol)