Skip to content

Commit

Permalink
relaxed relative tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
shadden committed Apr 1, 2024
1 parent 9416580 commit 935a0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celmech/test/test_nbody_simulation_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_add_helio_particles(self):
eldict = {el:getattr(orbit,el) for el in ['a','e','inc','l','pomega','Omega']}
add_canonical_heliocentric_elements_particle(m,eldict,newsim)
newsim.move_to_com()
self.compare_simulations(self.sim, newsim, rtol=1.e-13)
self.compare_simulations(self.sim, newsim, rtol=1.e-12)

if __name__ == '__main__':
unittest.main()

0 comments on commit 935a0c3

Please sign in to comment.