diff --git a/tests/test_tensor/test_belief_propagation/test_l2bp.py b/tests/test_tensor/test_belief_propagation/test_l2bp.py index e4022a98..258404fd 100644 --- a/tests/test_tensor/test_belief_propagation/test_l2bp.py +++ b/tests/test_tensor/test_belief_propagation/test_l2bp.py @@ -14,7 +14,7 @@ def test_contract_tree_exact(dtype): info = {} norm2_bp = contract_l2bp(psi, info=info, progbar=True) assert info["converged"] - assert norm2_bp == pytest.approx(norm2, rel=1e-6) + assert norm2_bp == pytest.approx(norm2, rel=5e-6) @pytest.mark.parametrize("dtype", ["float32", "complex64"])