Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
SKopecz committed Sep 27, 2024
1 parent 370314c commit 49d7d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 49d7d58

Please sign in to comment.