Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add num_iter argument to example.
  • Loading branch information
mdbartos authored Jul 9, 2023
1 parent 2307bb0 commit 0164130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ with Simulation(superlink, Q_in=Q_in, H_bc=H_bc) as simulation:
# While simulation time has not expired...
while simulation.t <= simulation.t_end:
# Step model forward in time
simulation.step(dt=dt)
simulation.step(dt=dt, num_iter=1)
# Record internal depth and flow states
simulation.record_state()
# Print progress bar
Expand Down

0 comments on commit 0164130

Please sign in to comment.