diff --git a/rebound/tests/test_rotations.py b/rebound/tests/test_rotations.py index 72f8aab88..3778d7388 100644 --- a/rebound/tests/test_rotations.py +++ b/rebound/tests/test_rotations.py @@ -150,7 +150,7 @@ def test_tofrom(self): sim.add(a=a,e=e,inc=inc,Omega=Omega,omega=omega,f=0) r = rebound.Rotation(fromv=sim.particles[1].xyz, tov=sim.particles[2].xyz) res = r*sim.particles[1].xyz - self.assertAlmostEqual(res[0], sim.particles[2].x, delta=1e-18) + self.assertAlmostEqual(res[0], sim.particles[2].x, delta=1e-15) self.assertAlmostEqual(res[1], sim.particles[2].y, delta=1e-15) self.assertAlmostEqual(res[2], sim.particles[2].z, delta=1e-15)