Skip to content

Commit

Permalink
fix: numpy 2.0.0 raising issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Sep 18, 2024
1 parent 07fecc8 commit 7272b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansys/mapdl/core/mesh/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def fix_missing_midside(cells, nodes, celltypes, offset, angles, nnum):
unique_nodes, idx_a, idx_b = unique_rows(temp_nodes[nnodes:])

# rewrite node numbers
cells[mask] = idx_b + nnodes
cells[mask] = (idx_b + nnodes).ravel()
nextra = idx_a.shape[0] # extra unique nodes
nodes_new = nodes_new[: nnodes + nextra]
nodes_new[nnodes:] = unique_nodes
Expand Down

0 comments on commit 7272b8f

Please sign in to comment.