diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 8d95f222..b4cf3fed 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -3367,8 +3367,9 @@ namespace netgen hpoints.Append (points[pi]); } else - op2np[pi] = -1; - + { + op2np[pi].Invalidate(); // = -1; + } points.SetSize(0);