Skip to content

Commit e91c24a

Browse files
Revert the tolerance adjustment
1 parent ccbfccf commit e91c24a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

dpnp/tests/test_linalg.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2182,10 +2182,7 @@ def test_lu_solve(self, shape, rhs_cols, order, dtype):
21822182

21832183
# check A @ x = b
21842184
Ax = a_dp @ x
2185-
if dpnp.issubdtype(dtype, dpnp.integer):
2186-
assert dpnp.allclose(Ax, b_dp, rtol=1e-5, atol=1e-5)
2187-
else:
2188-
assert dpnp.allclose(Ax, b_dp, rtol=1e-6, atol=1e-6)
2185+
assert dpnp.allclose(Ax, b_dp, rtol=1e-6, atol=1e-6)
21892186

21902187
@pytest.mark.parametrize("trans", [0, 1, 2])
21912188
@pytest.mark.parametrize("dtype", get_float_complex_dtypes())

0 commit comments

Comments
 (0)