Skip to content

Commit

Permalink
broadcast HydrologyEarthParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Dec 10, 2024
1 parent 7589f47 commit 6f8a39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/standalone/Soil/energy_hydrology.jl
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ function ClimaLand.source!(

# Wrap hydrology and earth parameters in one struct to avoid type inference failure
hydrology_earth_params =
ClimaLand.Soil.HydrologyEarthParameters(hydrology_cm, earth_param_set)
ClimaLand.Soil.HydrologyEarthParameters.(hydrology_cm, earth_param_set)

@. dY.soil.ϑ_l +=
-phase_change_source(
Expand Down

0 comments on commit 6f8a39b

Please sign in to comment.