Skip to content

Commit

Permalink
relaxed speed test
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed May 6, 2024
1 parent 4879207 commit b65362e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebound/tests/test_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def jacobi(sim):
dE_ias15 = abs((jacobi(sim) - E0)/E0)

self.assertLess(dE_trace, 1e-6) # reasonable precision for trace
self.assertLess(time_trace,time_ias15) # faster than ias15
self.assertLess(time_trace,2.0*time_ias15) # not much slower than ias15
'''
def test_pericenter(self):
Expand Down

0 comments on commit b65362e

Please sign in to comment.