From 89c74332b01b693276eef1e690b9050415e117dc Mon Sep 17 00:00:00 2001 From: patrickersing Date: Fri, 10 Nov 2023 10:39:55 +0100 Subject: [PATCH 1/2] 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 From 788b20d4d542ed197903edc09a538182329e6e47 Mon Sep 17 00:00:00 2001 From: patrickersing Date: Fri, 10 Nov 2023 11:07:37 +0100 Subject: [PATCH 2/2] apply formatter --- test/test_tree_1d_shallowwater.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_tree_1d_shallowwater.jl b/test/test_tree_1d_shallowwater.jl index 009349aae68..7ec3089d33a 100644 --- a/test/test_tree_1d_shallowwater.jl +++ b/test/test_tree_1d_shallowwater.jl @@ -111,7 +111,7 @@ end ], tspan=(0.0, 0.25), # Soften the tolerance as test results vary between different CPUs - atol = 1000*eps()) + atol=1000 * eps()) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) let