Skip to content

Commit

Permalink
fix typo in Davis wave speed estimate for 1d swe (#1601)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Winters <[email protected]>
Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
3 people authored Aug 11, 2023
1 parent d52a041 commit 68df09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/shallow_water_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ end
c_rr = sqrt(equations.gravity * h_rr)

λ_min = min(v_ll - c_ll, v_rr - c_rr)
λ_max = max(v_rr + c_rr, v_rr + c_rr)
λ_max = max(v_ll + c_ll, v_rr + c_rr)

return λ_min, λ_max
end
Expand Down

0 comments on commit 68df09d

Please sign in to comment.