From 62d83c1d210fb1bfb9607f3f25b0725eec369fe8 Mon Sep 17 00:00:00 2001 From: radek_poleski Date: Mon, 25 Mar 2024 12:38:13 +0100 Subject: [PATCH] NumPy >= v1.25 in tests --- source/MulensModel/tests/test_Model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/MulensModel/tests/test_Model.py b/source/MulensModel/tests/test_Model.py index 883736a1..d2d7361d 100644 --- a/source/MulensModel/tests/test_Model.py +++ b/source/MulensModel/tests/test_Model.py @@ -179,7 +179,7 @@ def test_BLPS_shear_active(): t = np.array([2456112.5]) data = mm.MulensData(data_list=[t, t*0.+16., t*0.+0.01]) magnification = model.get_magnification(data.time[0]) - assert not isclose(magnification, 4.691830781584699, abs_tol=1e-2) + assert not isclose(magnification[0], 4.691830781584699, abs_tol=1e-2) def test_BLPS_shear():