We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f19467a commit 2881ac4Copy full SHA for 2881ac4
lectures/short_path.md
@@ -222,8 +222,8 @@ Let's try with this example and see how we go:
222
223
```{code-cell} python3
224
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
+J = np.zeros_like(nodes, dtype=int) # Initial guess
+next_J = np.empty_like(nodes, dtype=int) # Stores updated guess
227
228
max_iter = 500
229
i = 0
0 commit comments