Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Jan 2, 2025
1 parent 98bccf2 commit ab2ffc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebound/tests/test_rotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ab2ffc0

Please sign in to comment.