Skip to content

Commit e3418f4

Browse files
author
Vahid Tavanashad
committed
change tolerance for irfft test
1 parent 9760b05 commit e3418f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dpnp/tests/test_fft.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,9 @@ def test_basic(self, dtype, n, norm):
613613
# and being used with Intel NumPy >= 2.0.0
614614
flag = True
615615
# flag = True if numpy_version() < "2.0.0" else False
616-
assert_dtype_allclose(result, expected, check_only_type_kind=flag)
616+
assert_dtype_allclose(
617+
result, expected, factor=24, check_only_type_kind=flag
618+
)
617619

618620
@pytest.mark.parametrize("dtype", get_complex_dtypes())
619621
@pytest.mark.parametrize("n", [None, 5, 8])

0 commit comments

Comments
 (0)