From 39c192dd5a19064640d1ed6cb3ba6a88cff4ac99 Mon Sep 17 00:00:00 2001 From: nefrathenrici Date: Wed, 20 Mar 2024 16:39:30 -0700 Subject: [PATCH] test and docs fixes --- docs/tutorials/standalone/Canopy/canopy_tutorial.jl | 2 +- ext/CreateParametersExt.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/standalone/Canopy/canopy_tutorial.jl b/docs/tutorials/standalone/Canopy/canopy_tutorial.jl index baab1f3db8..89fc0f6799 100644 --- a/docs/tutorials/standalone/Canopy/canopy_tutorial.jl +++ b/docs/tutorials/standalone/Canopy/canopy_tutorial.jl @@ -170,7 +170,7 @@ rt_model = TwoStreamModel{FT}(rt_params); # Arguments for conductance model: -cond_params = MedlynConductanceParameters(FT; g1 = 141) +cond_params = MedlynConductanceParameters(FT; g1 = 141.0) stomatal_model = MedlynConductanceModel{FT}(cond_params); diff --git a/ext/CreateParametersExt.jl b/ext/CreateParametersExt.jl index 8e2ba207a9..b9eb00a43a 100644 --- a/ext/CreateParametersExt.jl +++ b/ext/CreateParametersExt.jl @@ -656,7 +656,7 @@ function SnowParameters(toml_dict::CP.AbstractTOMLDict, Δt; kwargs...) parameters = CP.get_parameter_values(toml_dict, name_map, "Land") FT = CP.float_type(toml_dict) - earth_param_set = LandParameters(toml_dict) + earth_param_set = LP.LandParameters(toml_dict) PSE = typeof(earth_param_set) return SnowParameters{FT, PSE}(; Δt,