Skip to content

Commit

Permalink
Remove numpy deprecated func
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Sep 25, 2023
1 parent be406b9 commit 62bc573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocsmesh/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ def get_mesh_edges(mesh: jigsaw_msh_t, unique=True):
(elm_type, np.roll(elm_type, shift=1, axis=1)),
axis=2),
axis=2)
edges = edges.reshape(np.product(edges.shape[0:2]), 2)
edges = edges.reshape(np.prod(edges.shape[0:2]), 2)
all_edges = np.vstack((all_edges, edges))

if unique:
Expand Down

0 comments on commit 62bc573

Please sign in to comment.