summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/fft/tests/test_pocketfft.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/fft/tests/test_pocketfft.py b/numpy/fft/tests/test_pocketfft.py
index c5483ebb5..7a06d4c45 100644
--- a/numpy/fft/tests/test_pocketfft.py
+++ b/numpy/fft/tests/test_pocketfft.py
@@ -192,7 +192,8 @@ 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(np.log2(X.size)) * np.finfo(X.dtype).eps
+ # See discussion in pull/14178
+ _tol = 8.0 * np.sqrt(np.log2(X.size)) * np.finfo(X.dtype).eps
if order == 'F':
Y = np.asfortranarray(X)
else: