Skip to content

Commit f1bb61e

Browse files
committed
fixup
1 parent 72e5823 commit f1bb61e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/equations/shallow_water_3d.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,7 @@ end
425425
c_rr = sqrt(max(equations.gravity * h_rr, 0.0f0))
426426

427427
# The normal velocities are already scaled by the norm
428-
return max(abs(v_ll) + c_ll * norm_, abs(v_rr) + c_rr * norm_) *
429-
norm(normal_direction)
428+
return max(abs(v_ll) + c_ll, abs(v_rr) + c_rr) * norm(normal_direction)
430429
end
431430

432431
# Specialized `DissipationLocalLaxFriedrichs` to avoid spurious dissipation in the bottom topography

0 commit comments

Comments
 (0)