diff --git a/src/prognostic_equations/edmfx_sgs_flux.jl b/src/prognostic_equations/edmfx_sgs_flux.jl index dae4c8b86e9..d8c574acd3d 100644 --- a/src/prognostic_equations/edmfx_sgs_flux.jl +++ b/src/prognostic_equations/edmfx_sgs_flux.jl @@ -29,7 +29,7 @@ function edmfx_sgs_mass_flux_tendency!( for j in 1:n @. ᶠu³_diff_colidx = ᶠu³ʲs.:($$j)[colidx] - ᶠu³[colidx] @. ᶜh_tot_diff_colidx = - Y.c.sgsʲs.:($j).h_tot[colidx] - ᶜh_tot[colidx] + Y.c.sgsʲs.:($$j).h_tot[colidx] - ᶜh_tot[colidx] vertical_transport!( Yₜ.c.ρe_tot[colidx], ᶜJ[colidx], @@ -57,7 +57,7 @@ function edmfx_sgs_mass_flux_tendency!( for j in 1:n @. ᶠu³_diff_colidx = ᶠu³ʲs.:($$j)[colidx] - ᶠu³[colidx] @. ᶜq_tot_diff_colidx = - Y.c.sgsʲs.:($j).q_tot[colidx] - ᶜspecific.q_tot[colidx] + Y.c.sgsʲs.:($$j).q_tot[colidx] - ᶜspecific.q_tot[colidx] vertical_transport!( Yₜ.c.ρq_tot[colidx], ᶜJ[colidx],