Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 5, 2024
1 parent c0f3bf1 commit 111d93c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions landlab/components/river_flow_dynamics/river_flow_dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
Examine the flow depth at the center of the channel after 10 seconds.
>>> flow_depth = np.reshape(grid['node']["surface_water__depth"],(nRows,nCols))[10,:]
>>> np.round(flow_depth,3)
>>> flow_depth = np.reshape(grid["node"]["surface_water__depth"], (nRows, nCols))[10, :]
>>> np.round(flow_depth, 3)
array([0.5 , 0.491, 0.48 , 0.473, 0.467, 0.464, 0.46 , 0.458, 0.455,
0.454, 0.452, 0.45 , 0.449, 0.448, 0.446, 0.445, 0.443, 0.442,
0.441, 0.439, 0.438, 0.437, 0.435, 0.434, 0.433, 0.431, 0.43 ,
Expand Down

0 comments on commit 111d93c

Please sign in to comment.