Skip to content

Commit

Permalink
relaxed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Jan 5, 2024
1 parent 132c2bf commit 78c2f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebound/tests/test_mercurius.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def get_sim():

# Note: precision might vary on machine as initializations use cos/sin
# and are therefore machine dependent.
self.assertLess(dE_mercurius,4e-6) # reasonable precision for mercurius
self.assertLess(dE_mercurius,5e-6) # reasonable precision for mercurius
self.assertLess(dE_mercurius/dE_whfast,1e-4) # at least 1e4 times better than whfast
self.assertLess(time_mercurius,time_ias15) # faster than ias15
if sys.maxsize > 2**32: # 64 bit
Expand Down

0 comments on commit 78c2f83

Please sign in to comment.