Skip to content

Commit 5de153d

Browse files
Update dpnp/tests/test_linalg.py
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
1 parent 9654380 commit 5de153d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/tests/test_linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,7 @@ def test_lu_p_indices(self, shape, order, dtype):
26832683
U_np = dpnp.asnumpy(U)
26842684
A_rec = L_np[p_np] @ U_np
26852685
A_cast = a_dp.astype(L.dtype, copy=False)
2686-
assert_allclose(A_rec, dpnp.asnumpy(A_cast), rtol=1e-6, atol=1e-6)
2686+
assert dpnp.allclose(A_rec, A_cast, rtol=1e-6, atol=1e-6)
26872687

26882688
@pytest.mark.parametrize("in_dtype", get_float_complex_dtypes())
26892689
def test_p_matrix_dtype(self, in_dtype):

0 commit comments

Comments
 (0)