Skip to content

Commit

Permalink
Bump test tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-T-McCann committed Jul 29, 2022
1 parent 4e485fd commit f8115ec
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=5e-5)
np.testing.assert_allclose(comp_mat @ testobj.x, comp_op @ testobj.x, rtol=0, atol=1e-6)

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

0 comments on commit f8115ec

Please sign in to comment.