diff --git a/tests/test_performance.py b/tests/test_performance.py index 25a55ac8..9f0d5eb0 100644 --- a/tests/test_performance.py +++ b/tests/test_performance.py @@ -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)