diff options
Diffstat (limited to 'numpy/fft/tests/test_pocketfft.py')
-rw-r--r-- | numpy/fft/tests/test_pocketfft.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/fft/tests/test_pocketfft.py b/numpy/fft/tests/test_pocketfft.py index 3f5f7b474..c5483ebb5 100644 --- a/numpy/fft/tests/test_pocketfft.py +++ b/numpy/fft/tests/test_pocketfft.py @@ -192,7 +192,7 @@ def test_fft_with_order(dtype, order, fft): # non contiguous arrays rng = np.random.RandomState(42) X = rng.rand(8, 7, 13).astype(dtype, copy=False) - _tol = np.sqrt(X.size) * np.finfo(X.dtype).eps + _tol = np.sqrt(np.log2(X.size)) * np.finfo(X.dtype).eps if order == 'F': Y = np.asfortranarray(X) else: |