Skip to content

Commit

Permalink
comment more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Nov 27, 2023
1 parent bbe3db0 commit 694ed8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/callbacks_step/analysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ function (analysis_callback::AnalysisCallback)(io, du, u, u_ode, t, semi)
# Calculate L2/Linf errors, which are also returned
l2_error, linf_error = calc_error_norms(u_ode, t, analyzer, semi,
cache_analysis)
else # Need something to be returned
else
# Names `l2_error`, `linf_error` need to be defined
l2_error = nothing
linf_error = nothing
end
Expand Down

0 comments on commit 694ed8a

Please sign in to comment.