Skip to content

Commit

Permalink
Increase tolerance to prevent CPU failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-T-McCann committed Jul 29, 2022
1 parent 731b6c3 commit 0396f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scico/test/linop/test_linop.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_binary_op(testobj, operator):

assert isinstance(comp_op, linop.LinearOperator) # Ensure we don't get a Map
assert comp_op.input_dtype == testobj.A.dtype
np.testing.assert_allclose(comp_mat @ testobj.x, comp_op @ testobj.x, rtol=0, atol=1e-6)
np.testing.assert_allclose(comp_mat @ testobj.x, comp_op @ testobj.x, rtol=0, atol=1e-5)

# linops of different sizes
with pytest.raises(ValueError):
Expand Down

0 comments on commit 0396f7c

Please sign in to comment.