From 2e001e9029c5795bc8ef24f4f8a8bde3f02bf223 Mon Sep 17 00:00:00 2001 From: kmdeck Date: Thu, 18 Jul 2024 10:34:58 -0700 Subject: [PATCH] fix error [skip ci] --- src/standalone/Soil/energy_hydrology.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/standalone/Soil/energy_hydrology.jl b/src/standalone/Soil/energy_hydrology.jl index b08699ca0c..f33c3e0e1d 100644 --- a/src/standalone/Soil/energy_hydrology.jl +++ b/src/standalone/Soil/energy_hydrology.jl @@ -780,7 +780,7 @@ Returns the surface albedo field of the `EnergyHydrology` soil model. """ function ClimaLand.surface_albedo(model::EnergyHydrology{FT}, Y, p) where {FT} - return FT( + return @. FT( 0.5 * model.parameters.PAR_albedo + 0.5 * model.parameters.NIR_albedo, ) end