Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
  • Loading branch information
DanielDoehring and sloede authored Dec 1, 2024
1 parent 6791e74 commit 59518f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/callbacks_step/analysis_dg3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ function calc_error_norms(func, u, t, analyzer,
l2_error += diff .^ 2 *
(weights[i] * weights[j] * weights[k] * abs_jacobian_local_ijk)
linf_error = @. max(linf_error, abs(diff))
total_volume += weights[i] * weights[j] * weights[k] *
abs_jacobian_local_ijk
total_volume += (weights[i] * weights[j] * weights[k] *
abs_jacobian_local_ijk)
end
end

Expand Down

0 comments on commit 59518f3

Please sign in to comment.