diff --git a/src/integrated/soil_canopy_model.jl b/src/integrated/soil_canopy_model.jl index 085715912a..59aea03de6 100644 --- a/src/integrated/soil_canopy_model.jl +++ b/src/integrated/soil_canopy_model.jl @@ -265,7 +265,7 @@ function make_update_boundary_fluxes( # otherwise use root_distribution from params root_likelihood(z::FT, rd::Union{FT, Nothing}) = !isnothing(rd) ? root_distribution(z, rd) : - model.parameters.root_distribution(z) + land.parameters.root_distribution(z) @. p.root_extraction = above_ground_area_index * PlantHydraulics.water_flux(