From 89c74332b01b693276eef1e690b9050415e117dc Mon Sep 17 00:00:00 2001 From: patrickersing Date: Fri, 10 Nov 2023 10:39:55 +0100 Subject: [PATCH] Adjust tolerance to fix wet_dry test --- test/test_tree_1d_shallowwater.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_tree_1d_shallowwater.jl b/test/test_tree_1d_shallowwater.jl index 658f178c941..009349aae68 100644 --- a/test/test_tree_1d_shallowwater.jl +++ b/test/test_tree_1d_shallowwater.jl @@ -109,7 +109,9 @@ end 2.2447689894899726e-13, 1.9999999999999714, ], - tspan=(0.0, 0.25)) + tspan=(0.0, 0.25), + # Soften the tolerance as test results vary between different CPUs + atol = 1000*eps()) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) let