From 54247c66b8b4ae2d65917b04b94cf4a3d56af57b Mon Sep 17 00:00:00 2001 From: Eli Rykoff Date: Mon, 17 Jun 2024 11:01:15 -0700 Subject: [PATCH] Update test values for updated scipy fitter. I am not 100% what changed in the fitter though. --- tests/test_redmagic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_redmagic.py b/tests/test_redmagic.py index 2d6a444..56aa394 100644 --- a/tests/test_redmagic.py +++ b/tests/test_redmagic.py @@ -90,7 +90,7 @@ def test_redmagic_fitter(self): cvals = rmfitter.fit(cvals, biaspars=biasvals, eratiopars=eratiovals, afterburner=True) - testing.assert_almost_equal(cvals, np.array([2.39569338, 3.07408774, 0.8872264]), 4) + testing.assert_almost_equal(cvals, np.array([2.4784, 3.1185, 0.872]), 4) testing.assert_almost_equal(biasvals, np.array([0.04477243, 0.00182884, -0.03398897]), 4) testing.assert_almost_equal(eratiovals, np.array([0.64541869, 0.94068391, 0.89967353]), 2)