Skip to content

Commit

Permalink
Update src/equations/compressible_euler_2d.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
DanielDoehring and ranocha authored Dec 28, 2023
1 parent 408a50c commit a58b799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/compressible_euler_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ function flux_hllc(u_ll, u_rr, normal_direction::AbstractVector,

norm_ = norm(normal_direction)
norm_sq = norm_ * norm_
inv_norm_sq = 1.0 / norm_sq
inv_norm_sq = inv(norm_sq)

c_ll = sqrt(equations.gamma * p_ll / rho_ll) * norm_
c_rr = sqrt(equations.gamma * p_rr / rho_rr) * norm_
Expand Down

0 comments on commit a58b799

Please sign in to comment.