Skip to content

Commit

Permalink
Use t
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Apr 16, 2024
1 parent 85cc8d9 commit 340883e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function SciMLBase.step!(model::Model, dt::Float64)::Model
# set over BMI at time t before calling this function.
# Also, don't run allocation at t = 0 since there are no flows yet (#1389).
ntimes = t / config.allocation.timestep
if ntimes > 0 && round(ntimes) ntimes
if t > 0 && round(ntimes) ntimes
update_allocation!(integrator)
end
step!(integrator, dt, true)
Expand Down

0 comments on commit 340883e

Please sign in to comment.