Skip to content

Commit 4fc9380

Browse files
authored
Merge pull request #102 from Quansight-Labs/bump_tol_qr
TST: bump test tolerance in TestQR
2 parents 6a95100 + 2f5b281 commit 4fc9380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch_np/tests/numpy_tests/linalg/test_linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ def check_qr_stacked(self, a):
16791679
assert_(isinstance(r, a_type))
16801680
assert_(q.shape[-2:] == (m, m))
16811681
assert_(r.shape[-2:] == (m, n))
1682-
assert_almost_equal(matmul(q, r), a)
1682+
assert_almost_equal(matmul(q, r), a, single_decimal=5)
16831683
I_mat = np.identity(q.shape[-1])
16841684
stack_I_mat = np.broadcast_to(I_mat,
16851685
q.shape[:-2] + (q.shape[-1],)*2)

0 commit comments

Comments
 (0)