From 408a50c469474c0b4d02c7799f81983e0a9dd54d Mon Sep 17 00:00:00 2001 From: Daniel Doehring Date: Thu, 28 Dec 2023 10:48:57 +0100 Subject: [PATCH] Update src/equations/compressible_euler_3d.jl Co-authored-by: Hendrik Ranocha --- src/equations/compressible_euler_3d.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equations/compressible_euler_3d.jl b/src/equations/compressible_euler_3d.jl index d6de349fd91..2910765bee4 100644 --- a/src/equations/compressible_euler_3d.jl +++ b/src/equations/compressible_euler_3d.jl @@ -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_