From 49d7d5829daf2d6c94df9ce7e403265689c680d2 Mon Sep 17 00:00:00 2001 From: Stefan Kopecz Date: Fri, 27 Sep 2024 14:49:28 +0200 Subject: [PATCH] format --- src/utilities.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities.jl b/src/utilities.jl index 92709759..3d567172 100644 --- a/src/utilities.jl +++ b/src/utilities.jl @@ -63,7 +63,7 @@ end function rel_l∞_error_all(sol, sol_ref) err = zero(eltype(eltype(sol))) - for i in eachindex(sol) + for i in eachindex(sol) max_err_i = maximum(abs.((abs.(sol[i]) .- abs.(sol_ref[i])) ./ sol_ref[i])) if max_err_i > err err = max_err_i