From c33feee970a906cdbabdc29cecf5599f6d8c23db Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Wed, 14 Aug 2019 14:00:37 +0200 Subject: [PATCH] segmentindex is 0 based --- libsrc/meshing/bisect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/bisect.cpp b/libsrc/meshing/bisect.cpp index 6390fff0..198f87b5 100644 --- a/libsrc/meshing/bisect.cpp +++ b/libsrc/meshing/bisect.cpp @@ -2150,7 +2150,7 @@ namespace netgen } if(mesh.GetDimension() == 2) { - for (SegmentIndex j=1; j<=mesh.GetNSeg(); j++) + for (SegmentIndex j=0; j