From 892271fd087ec2014cabacc45f95f2aa914dbbaf Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Fri, 10 Jan 2025 16:59:43 +0100 Subject: [PATCH] proper initialize face2surfedl --- libsrc/meshing/topology.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/topology.cpp b/libsrc/meshing/topology.cpp index ff104cf3..20c3eca3 100644 --- a/libsrc/meshing/topology.cpp +++ b/libsrc/meshing/topology.cpp @@ -1227,7 +1227,7 @@ namespace netgen face2surfel.SetSize (nfa); - face2surfel = 0; + face2surfel = SurfaceElementIndex::INVALID; for (SurfaceElementIndex sei = 0; sei < nse; sei++) face2surfel[GetFace(sei)] = sei;