From 5d74d074ed381761715338c1fe80bead10b3e786 Mon Sep 17 00:00:00 2001 From: Andreas Filipp Date: Wed, 29 May 2024 16:23:24 -0400 Subject: [PATCH] higher tolerance --- tests/test_multipole.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_multipole.py b/tests/test_multipole.py index b4a61022..20ba9d39 100644 --- a/tests/test_multipole.py +++ b/tests/test_multipole.py @@ -45,13 +45,13 @@ def test(sim_source, device, lens_models): lens_test_helper(lens, lens_ls, z_s, x, kwargs_ls, rtol, atol, device=device) # Different tolerances for difference quantities alpha_test_helper( - lens, lens_ls, z_s, x, kwargs_ls, rtol=1e-100, atol=6e-5, device=device + lens, lens_ls, z_s, x, kwargs_ls, rtol=rtol, atol=atol, device=device ) kappa_test_helper( - lens, lens_ls, z_s, x, kwargs_ls, rtol=6e-5, atol=1e-100, device=device + lens, lens_ls, z_s, x, kwargs_ls, rtol=rtol, atol=atol, device=device ) Psi_test_helper( - lens, lens_ls, z_s, x, kwargs_ls, rtol=3e-5, atol=1e-100, device=device + lens, lens_ls, z_s, x, kwargs_ls, rtol=rtol, atol=atol, device=device )