Skip to content

Commit

Permalink
Merge pull request #336 from CliMA/ck/debug
Browse files Browse the repository at this point in the history
Add debug to NaNs error
  • Loading branch information
charleskawczynski authored Nov 14, 2024
2 parents 7740d6d + 12340b8 commit 0c57a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/dev/compute_convergence.jl
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function compute_convergence!(
callback = scb_cur_avg_sol_and_err,
)
if any(isnan, plot2_values)
error("NaN found in plot2_values")
error("NaN found in plot2_values in problem $(test_name)")
end
out_dict[key1][key2]["plot2_values"] = plot2_values

Expand Down

0 comments on commit 0c57a2f

Please sign in to comment.