Skip to content

Commit

Permalink
Update src/equations/compressible_euler_3d.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 434c3f0 commit 408a50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/compressible_euler_3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,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 408a50c

Please sign in to comment.