We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcacdaf commit 326d6f7Copy full SHA for 326d6f7
src/cache/precipitation_precomputed_quantities.jl
@@ -84,7 +84,7 @@ end
84
compute_ᶜwₕhₜ(ᶜY, ᶠY, p, t) =
85
compute_ᶜwₕhₜ(ᶜY, ᶠY, p, t, p.atmos.moisture_model, p.atmos.precip_model)
86
87
-compute_ᶜwₕhₜ(ᶜY, ᶠY, p, t, moisture_model, precip_model) = zero(ᶜY.ρ)
+compute_ᶜwₕhₜ(ᶜY, ᶠY, p, t, moisture_model, precip_model) = zero(eltype(ᶜY.ρ))
88
89
function compute_ᶜwₕhₜ(ᶜY, ᶠY, p, t, ::NonEquilMoistModel, ::Microphysics1Moment)
90
thp = CAP.thermodynamics_params(p.params)
0 commit comments