From 7272b8f079235a88e35b78b3d8497a87b625973b Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 18 Sep 2024 13:39:27 +0200 Subject: [PATCH] fix: numpy 2.0.0 raising issue. --- src/ansys/mapdl/core/mesh/mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/mapdl/core/mesh/mesh.py b/src/ansys/mapdl/core/mesh/mesh.py index 10099b0f03..6df042cd05 100644 --- a/src/ansys/mapdl/core/mesh/mesh.py +++ b/src/ansys/mapdl/core/mesh/mesh.py @@ -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