Skip to content

Commit

Permalink
Adjust tolerance to fix wet_dry test
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickersing committed Nov 10, 2023
1 parent 9a00184 commit 89c7433
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_tree_1d_shallowwater.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89c7433

Please sign in to comment.