diff options
author | Oleksandr Pavlyk <oleksandr.pavlyk@intel.com> | 2019-08-01 16:48:15 -0500 |
---|---|---|
committer | Oleksandr Pavlyk <oleksandr.pavlyk@intel.com> | 2019-08-01 16:48:15 -0500 |
commit | 42fb36751107d2ffe8af8e0f35a334a1b0d42baf (patch) | |
tree | 5c6026dbe1f3caa78a7d434331823f98e5e0cd81 | |
parent | 4c1fd6a9890a7cdec8e381c3a2c64d6140087ef3 (diff) | |
download | numpy-42fb36751107d2ffe8af8e0f35a334a1b0d42baf.tar.gz |
Incremented _tol my factor of 8.
-rw-r--r-- | numpy/fft/tests/test_pocketfft.py | 3 |
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: |