Skip to content

Commit

Permalink
Update index.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 0164130 commit 7a28cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,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 7a28cbe

Please sign in to comment.