Skip to content

Commit 0164130

Browse files
authored
Update README.md
Add num_iter argument to example.
1 parent 2307bb0 commit 0164130

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ with Simulation(superlink, Q_in=Q_in, H_bc=H_bc) as simulation:
8686
# While simulation time has not expired...
8787
while simulation.t <= simulation.t_end:
8888
# Step model forward in time
89-
simulation.step(dt=dt)
89+
simulation.step(dt=dt, num_iter=1)
9090
# Record internal depth and flow states
9191
simulation.record_state()
9292
# Print progress bar

0 commit comments

Comments
 (0)