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.
2 parents c30ec0e + 2881ac4 commit be8c7fcCopy full SHA for be8c7fc
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