Skip to content

Commit

Permalink
Update test_performance.py
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgsavage authored Dec 24, 2024
1 parent afa1712 commit 6927711
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def test_repeated_summation_complexity():
t0 = t_list[0]
for n, t in zip(n_list[1:], t_list[1:]):
# Check that the plot of t vs n is linear on a log scale to within 10%
# See PR 275
assert 0.9 * log10(n / n0) < log10(t / t0) < 1.1 * log10(n / n0)


Expand Down

0 comments on commit 6927711

Please sign in to comment.