Skip to content

Commit

Permalink
show rse
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Feb 8, 2024
1 parent 113740d commit d77c21a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ConservationChecker.jl
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ function plot_global_conservation(

# check that the relative error is small (TODO: reduce this to sqrt(eps(FT)))
if !softfail
@assert rse[end] < 1e-3
@show rse[end]
@assert rse[end] < 1e-3 "Conservation check failed: relative error $(rse[end])"
end
end

Expand Down

0 comments on commit d77c21a

Please sign in to comment.