Skip to content

Commit

Permalink
parantheses
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Jan 20, 2025
1 parent ba296e6 commit ad6cf23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/shallow_water_multilayer_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ end
c_ll = sqrt(equations.gravity * sum(h_ll))
c_rr = sqrt(equations.gravity * sum(h_rr))

return max(abs(v_m_ll), abs(v_m_rr)) + max(c_ll, c_rr)
return (max(abs(v_m_ll), abs(v_m_rr)) + max(c_ll, c_rr))
end

@inline function Trixi.max_abs_speed_naive(u_ll, u_rr,
Expand Down

0 comments on commit ad6cf23

Please sign in to comment.