Skip to content

Commit 7a28cbe

Browse files
authored
Update index.md
Add num_iter argument to example.
1 parent 0164130 commit 7a28cbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ with Simulation(superlink, Q_in=Q_in, H_bc=H_bc) as simulation:
4747
# While simulation time has not expired...
4848
while simulation.t <= simulation.t_end:
4949
# Step model forward in time
50-
simulation.step(dt=dt)
50+
simulation.step(dt=dt, num_iter=1)
5151
# Record internal depth and flow states
5252
simulation.record_state()
5353
# Print progress bar

0 commit comments

Comments
 (0)