diff --git a/src/cache/diagnostic_edmf_precomputed_quantities.jl b/src/cache/diagnostic_edmf_precomputed_quantities.jl index 667e4e2e0b1..77aeaf37eef 100644 --- a/src/cache/diagnostic_edmf_precomputed_quantities.jl +++ b/src/cache/diagnostic_edmf_precomputed_quantities.jl @@ -636,8 +636,7 @@ function set_diagnostic_edmf_precomputed_quantities_do_integral!(Y, p, t) @. ρaʲ_level = ifelse( ( u³ʲ_data_prev_halflevel * u³ʲ_data_prev_halflevel < - ∇Φ³_data_prev_level * - (ρʲ_prev_level - ρ_prev_level) / ρʲ_prev_level, + ∇Φ³_data_prev_level * (ρʲ_prev_level - ρ_prev_level) / ρʲ_prev_level ), 0, ρaʲ_level, @@ -645,8 +644,7 @@ function set_diagnostic_edmf_precomputed_quantities_do_integral!(Y, p, t) @. u³ʲ_halflevel = ifelse( ( u³ʲ_data_prev_halflevel * u³ʲ_data_prev_halflevel < - ∇Φ³_data_prev_level * - (ρʲ_prev_level - ρ_prev_level) / ρʲ_prev_level, + ∇Φ³_data_prev_level * (ρʲ_prev_level - ρ_prev_level) / ρʲ_prev_level ), u³_halflevel, u³ʲ_halflevel, @@ -654,8 +652,7 @@ function set_diagnostic_edmf_precomputed_quantities_do_integral!(Y, p, t) @. h_totʲ_level = ifelse( ( u³ʲ_data_prev_halflevel * u³ʲ_data_prev_halflevel < - ∇Φ³_data_prev_level * - (ρʲ_prev_level - ρ_prev_level) / ρʲ_prev_level, + ∇Φ³_data_prev_level * (ρʲ_prev_level - ρ_prev_level) / ρʲ_prev_level ), h_tot_level, h_totʲ_level, @@ -663,8 +660,7 @@ function set_diagnostic_edmf_precomputed_quantities_do_integral!(Y, p, t) @. q_totʲ_level = ifelse( ( u³ʲ_data_prev_halflevel * u³ʲ_data_prev_halflevel < - ∇Φ³_data_prev_level * - (ρʲ_prev_level - ρ_prev_level) / ρʲ_prev_level, + ∇Φ³_data_prev_level * (ρʲ_prev_level - ρ_prev_level) / ρʲ_prev_level ), q_tot_level, q_totʲ_level,