Skip to content

Commit

Permalink
BUG if numba already warm then this assert is not true
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Jun 30, 2022
1 parent fbd59ea commit 6772a42
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ngmix/tests/test_metacal_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,5 @@ def test_metacal_cache():
print("third time: %r seconds (< %r?)" % (t2, t1*0.7), flush=True)
print(_cached_galsim_stuff.cache_info(), flush=True)

# numba should be slower always but we do not care how much
assert t1 < t0

# we expect roughly 30% gains
assert t2 < t1*0.7

0 comments on commit 6772a42

Please sign in to comment.