Skip to content

Commit a2a7805

Browse files
committed
loosen test tol
1 parent 5ffb110 commit a2a7805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_tensor/test_belief_propagation/test_l2bp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test_contract_tree_exact(dtype):
1111
info = {}
1212
norm2_bp = qbp.contract_l2bp(psi, info=info, progbar=True)
1313
assert info["converged"]
14-
assert norm2_bp == pytest.approx(norm2, rel=1e-5)
14+
assert norm2_bp == pytest.approx(norm2, rel=5e-5)
1515

1616

1717
@pytest.mark.parametrize("dtype", ["float32", "complex64"])

0 commit comments

Comments
 (0)