From 66ac0a371b18be389a7768bd771b369fbefcfea3 Mon Sep 17 00:00:00 2001 From: Mike McCann <57153404+Michael-T-McCann@users.noreply.github.com> Date: Fri, 29 Jul 2022 10:08:29 -0600 Subject: [PATCH] Bump test tolerance (#318) --- scico/test/linop/test_linop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scico/test/linop/test_linop.py b/scico/test/linop/test_linop.py index 2f524028a..e801f053c 100644 --- a/scico/test/linop/test_linop.py +++ b/scico/test/linop/test_linop.py @@ -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-5) # linops of different sizes with pytest.raises(ValueError):