Index: wflow/wflow_sediment.py =================================================================== diff -u -rdbcff5c7959f3573d7e2f0a37178e0534050d6f2 -rba5efd382ef11bf798319376c50cb3ec0cc598e6 --- wflow/wflow_sediment.py (.../wflow_sediment.py) (revision dbcff5c7959f3573d7e2f0a37178e0534050d6f2) +++ wflow/wflow_sediment.py (.../wflow_sediment.py) (revision ba5efd382ef11bf798319376c50cb3ec0cc598e6) @@ -84,7 +84,7 @@ it = np.ceil(deltaT / np.amin(minTstep)) #Maximum number of iterations - it = max(it, 1000) + it = min(it, 1000) return it