From 850fae893d6468a8958288813b5726052336cab6 Mon Sep 17 00:00:00 2001 From: EiffL Date: Sat, 18 Jul 2020 15:30:50 +0200 Subject: [PATCH] less severe accuracy requirements --- tests/test_angular_cl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_angular_cl.py b/tests/test_angular_cl.py index 44af0b1..96a2704 100644 --- a/tests/test_angular_cl.py +++ b/tests/test_angular_cl.py @@ -49,7 +49,7 @@ def test_lensing_cl(): cl_ccl = ccl.angular_cl(cosmo_ccl, tracer_ccl, tracer_ccl, ell) cl_jax = angular_cl(cosmo_jax, ell, [tracer_jax]) - assert_allclose(cl_ccl, cl_jax[0], rtol=0.5e-2) + assert_allclose(cl_ccl, cl_jax[0], rtol=1.0e-2) def test_lensing_cl_IA(): @@ -142,4 +142,4 @@ def test_clustering_cl(): cl_ccl = ccl.angular_cl(cosmo_ccl, tracer_ccl, tracer_ccl, ell) cl_jax = angular_cl(cosmo_jax, ell, [tracer_jax]) - assert_allclose(cl_ccl, cl_jax[0], rtol=0.5e-2) + assert_allclose(cl_ccl, cl_jax[0], rtol=1e-2)