From 59518f3047ea5f539f611a7965f5991fa07f102c Mon Sep 17 00:00:00 2001 From: Daniel Doehring Date: Sun, 1 Dec 2024 09:10:50 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Michael Schlottke-Lakemper --- src/callbacks_step/analysis_dg3d.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/callbacks_step/analysis_dg3d.jl b/src/callbacks_step/analysis_dg3d.jl index 4e11702d43f..efc1dc3bb3c 100644 --- a/src/callbacks_step/analysis_dg3d.jl +++ b/src/callbacks_step/analysis_dg3d.jl @@ -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