Skip to content

Commit 0e0afd9

Browse files
committed
Tweak tolerance of flaky test
1 parent b4029e3 commit 0e0afd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/tensor/rewriting/test_linalg.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ def test_cholesky_ldotlt(tag, cholesky_form, product, op):
233233
np.testing.assert_allclose(
234234
cholesky_vect_fn(Mv),
235235
f(Av),
236+
rtol=1e-6 if config.floatX == "float32" else 1e-7,
236237
)
237238

238239

0 commit comments

Comments
 (0)