diff --git a/src/prognostic_equations/edmfx_closures.jl b/src/prognostic_equations/edmfx_closures.jl index 41c85ad0291..054b1c2f862 100644 --- a/src/prognostic_equations/edmfx_closures.jl +++ b/src/prognostic_equations/edmfx_closures.jl @@ -91,7 +91,7 @@ function edmfx_nh_pressure_tendency!(Yₜ, Y, p, t, colidx, turbconv_model::EDMF updraft_top = Spaces.level(ᶜz[colidx], level)[] end end - updraft_top = updraft_top - z_sfc[colidx] + updraft_top = updraft_top - z_sfc[colidx][] @. Yₜ.f.sgsʲs.:($$j).u₃[colidx] -= ᶠupdraft_nh_pressure( params,