Skip to content

Commit

Permalink
Fix the wet/dry test for SWE (#1727)
Browse files Browse the repository at this point in the history
* Adjust tolerance to fix wet_dry test

* apply formatter
  • Loading branch information
patrickersing authored Nov 10, 2023
1 parent 9a00184 commit cb8181f
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 cb8181f

Please sign in to comment.