From da3c883ca454e6c24652065c7fe1e9c6b067ab8c Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Tue, 25 Jun 2024 10:31:58 -0700 Subject: [PATCH] Remove FT. from biogeochemistry --- src/standalone/Soil/Biogeochemistry/Biogeochemistry.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/standalone/Soil/Biogeochemistry/Biogeochemistry.jl b/src/standalone/Soil/Biogeochemistry/Biogeochemistry.jl index 871590745a..e6de7d5d44 100644 --- a/src/standalone/Soil/Biogeochemistry/Biogeochemistry.jl +++ b/src/standalone/Soil/Biogeochemistry/Biogeochemistry.jl @@ -406,10 +406,10 @@ function ClimaLand.make_update_aux(model::SoilCO2Model) FT = eltype(Y.soilco2.C) params = model.parameters z = model.domain.fields.z - T_soil = FT.(soil_temperature(model.driver.met, p, Y, t, z)) - θ_l = FT.(soil_moisture(model.driver.met, p, Y, t, z)) - Csom = FT.(soil_SOM_C(model.driver.soc, p, Y, t, z)) - P_sfc = FT.(air_pressure(model.driver.atmos, p, Y, t)) + T_soil = soil_temperature(model.driver.met, p, Y, t, z) + θ_l = soil_moisture(model.driver.met, p, Y, t, z) + Csom = soil_SOM_C(model.driver.soc, p, Y, t, z) + P_sfc = air_pressure(model.driver.atmos, p, Y, t) θ_w = θ_l p.soilco2.D .= co2_diffusivity.(T_soil, θ_w, P_sfc, Ref(params))