diff --git a/km3buu/tests/test_physics.py b/km3buu/tests/test_physics.py index 7d2bd2406ce679f43fedbaf593c1133a6c8ad570..815c36e092fc9b387d2ac4c227931039c5b27dbe 100644 --- a/km3buu/tests/test_physics.py +++ b/km3buu/tests/test_physics.py @@ -53,7 +53,7 @@ class TestVisibleEnergyWeights(unittest.TestCase): def test_proton_weight(self): vfunc = np.vectorize(proton_weight) val = vfunc(self.ref_values[0, :]) - assert np.allclose(self.ref_values[6, :], val, rtol=0.05) + assert np.allclose(self.ref_values[6, :], val, atol=0.05) def test_neutron_weight(self): vfunc = np.vectorize(neutron_weight)