@@ -147,7 +147,7 @@ function run_hymod!(node::SimpleHyModNode, ts::Int64, P::F, PET::F, inflow::F, e
147147
148148 Qtmp:: F = (Qs1 + Qf3) * node. area
149149 Q_t:: F = inflow + Qtmp - ext + flux
150- update_states !(node, ts, Sm_t1, Sf1_t1, Sf2_t1, Sf3_t1, Ss1_t1, Q_t)
150+ update_state !(node, ts, Sm_t1, Sf1_t1, Sf2_t1, Sf3_t1, Ss1_t1, Q_t)
151151
152152 return Q_t
153153end
@@ -162,7 +162,7 @@ function update_params!(node::HyModNode, Sm_max::F, B::F, alpha::F, Kf::F, Ks::F
162162end
163163
164164
165- # function update_states !(node::HyModNode, Sm, Sf1, Sf2, Sf3, Ss1, Q)::Nothing
165+ # function update_state !(node::HyModNode, Sm, Sf1, Sf2, Sf3, Ss1, Q)::Nothing
166166# append!(node.Sm, Sm)
167167# append!(node.Sf1, Sf1)
168168# append!(node.Sf2, Sf2)
172172
173173# return nothing
174174# end
175- function update_states !(
175+ function update_state !(
176176 node:: HyModNode , ts:: Int , Sm:: F , Sf1:: F , Sf2:: F , Sf3:: F , Ss1:: F , Q:: F
177177):: Nothing where {F<: Float64 }
178178 # State for time t+1
0 commit comments