Skip to content

Commit

Permalink
Fix error in parameter ensembles example
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroenks96 committed Oct 20, 2024
1 parent d2744b2 commit 89b9fd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions examples/cglite_parameter_ensembles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ upperbc = TemperatureBC(
)
ssinit = ThermalSteadyStateInit(T0=-15.0u"°C")
heatop = Heat.EnthalpyImplicit()
freezecurve = FreeWater()
heat = HeatBalance(heatop; freezecurve)
heat = HeatBalance(heatop)
soil_layers = map(para -> Ground(para; heat), soilprofile)
strat = Stratigraphy(
z_top => Top(upperbc),
Expand Down
1 change: 1 addition & 0 deletions src/Physics/Snow/snow_lite.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ function CryoGrid.initialcondition!(snowpack::LiteSnowpack, ::SnowMassBalance, s
@. state.ρsn = snowpack.para.ρsn_0
@. state.swe = 0.0
@. state.dsn = 0.0
@. state.ubc_idx = length(state.T)
end

function Hydrology.watercontent!(snow::LiteSnowpack, ::WaterBalance, state)
Expand Down

0 comments on commit 89b9fd9

Please sign in to comment.