Skip to content

Commit be8c7fc

Browse files
committed
2 parents c30ec0e + 2881ac4 commit be8c7fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lectures/short_path.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ Let's try with this example and see how we go:
222222

223223
```{code-cell} python3
224224
nodes = range(7) # Nodes = 0, 1, ..., 6
225-
J = np.zeros_like(nodes, dtype=np.int) # Initial guess
226-
next_J = np.empty_like(nodes, dtype=np.int) # Stores updated guess
225+
J = np.zeros_like(nodes, dtype=int) # Initial guess
226+
next_J = np.empty_like(nodes, dtype=int) # Stores updated guess
227227
228228
max_iter = 500
229229
i = 0

0 commit comments

Comments
 (0)