From ba4bad233d70f0c5ba290d273837282efe6fb61c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20van=20Velzen?= Date: Sat, 30 Nov 2024 09:54:14 +0100 Subject: [PATCH] Relax assert in TestFlatEinzelLens --- tests/test_radial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_radial.py b/tests/test_radial.py index 27f53ba..df55e48 100644 --- a/tests/test_radial.py +++ b/tests/test_radial.py @@ -365,7 +365,7 @@ def test_trace_close_to_axis(self): intersection = T.xy_plane_intersection(pos, -0.8) intersection_axial = T.xy_plane_intersection(pos_axial, -0.8) - assert np.allclose(intersection, intersection_axial, rtol=5e-5) + assert np.allclose(intersection, intersection_axial, rtol=5e-4)