summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Pavlyk <oleksandr.pavlyk@intel.com>2019-08-01 16:48:15 -0500
committerOleksandr Pavlyk <oleksandr.pavlyk@intel.com>2019-08-01 16:48:15 -0500
commit42fb36751107d2ffe8af8e0f35a334a1b0d42baf (patch)
tree5c6026dbe1f3caa78a7d434331823f98e5e0cd81
parent4c1fd6a9890a7cdec8e381c3a2c64d6140087ef3 (diff)
downloadnumpy-42fb36751107d2ffe8af8e0f35a334a1b0d42baf.tar.gz
Incremented _tol my factor of 8.
-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: