Skip to content

Commit 61322fd

Browse files
committed
TST: a small bump of the FFT tolerance
1 parent b7f035f commit 61322fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch_np/tests/numpy_tests/fft/test_pocketfft.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def test_fft(self):
4444

4545
np.random.seed(1234)
4646
x = random(30) + 1j*random(30)
47-
assert_allclose(fft1(x), np.fft.fft(x), atol=2e-5)
48-
assert_allclose(fft1(x), np.fft.fft(x, norm="backward"), atol=2e-5)
47+
assert_allclose(fft1(x), np.fft.fft(x), atol=3e-5)
48+
assert_allclose(fft1(x), np.fft.fft(x, norm="backward"), atol=3e-5)
4949
assert_allclose(fft1(x) / np.sqrt(30),
5050
np.fft.fft(x, norm="ortho"), atol=5e-6)
5151
assert_allclose(fft1(x) / 30.,

0 commit comments

Comments
 (0)