Skip to content

Commit f3578e6

Browse files
committed
Loosen amount (correct test)
1 parent 9e3d18d commit f3578e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tensor/test_blockwise.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def test_cholesky(self, is_batched):
484484
np.testing.assert_allclose(
485485
X_val_in,
486486
np.linalg.cholesky(X_val_in_copy),
487-
atol=1e-4 if config.floatX == "float32" else 0,
487+
atol=1e-5 if config.floatX == "float32" else 0,
488488
)
489489

490490
@pytest.mark.parametrize("batched_A", (False, True))
@@ -538,7 +538,7 @@ def core_scipy_fn(A, b):
538538
A_val_copy, b_val_copy
539539
)
540540
np.testing.assert_allclose(
541-
out, expected_out, atol=1e-6 if config.floatX == "float32" else 0
541+
out, expected_out, atol=1e-5 if config.floatX == "float32" else 0
542542
)
543543

544544
# Confirm input was destroyed

0 commit comments

Comments
 (0)