From 7a28cbecb37fb9297af2b4130b165c4aea4d1128 Mon Sep 17 00:00:00 2001 From: Matt Bartos Date: Sun, 9 Jul 2023 12:06:21 -0500 Subject: [PATCH] Update index.md Add num_iter argument to example. --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 397a118..845067b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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