From 7c67dad11ae1a21d2fefabb8749d82cc9ab7bffa Mon Sep 17 00:00:00 2001 From: Daniel Doehring Date: Mon, 6 Nov 2023 12:10:26 +0100 Subject: [PATCH] Update src/equations/ideal_glm_mhd_1d.jl Co-authored-by: Hendrik Ranocha --- src/equations/ideal_glm_mhd_1d.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equations/ideal_glm_mhd_1d.jl b/src/equations/ideal_glm_mhd_1d.jl index 62fd0fb7e33..bbecef7a646 100644 --- a/src/equations/ideal_glm_mhd_1d.jl +++ b/src/equations/ideal_glm_mhd_1d.jl @@ -279,7 +279,7 @@ function flux_hllc(u_ll, u_rr, orientation::Integer, SsL, SsR = min_max_speed_naive(u_ll, u_rr, orientation, equations) sMu_L = SsL - v1_ll sMu_R = SsR - v1_rr - if SsL >= 0.0 + if SsL >= 0 f1 = f_ll[1] f2 = f_ll[2] f3 = f_ll[3]