From 57215cc707fccab316b9dc40d4d4f96f7b84243e Mon Sep 17 00:00:00 2001 From: Julius Zimmermann Date: Tue, 23 Jul 2019 23:23:10 +0200 Subject: [PATCH] fixed another bug --- libsrc/interface/readuser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/interface/readuser.cpp b/libsrc/interface/readuser.cpp index 1e0d85f8..cd52a5ac 100644 --- a/libsrc/interface/readuser.cpp +++ b/libsrc/interface/readuser.cpp @@ -382,7 +382,7 @@ namespace netgen // loop through segments to assign default BC to unmarked edges int bccounter_tmp = bccounter; for(int index=1; index <= mesh.GetNSeg(); index++){ - Segment & seg = mesh.LineSegment(get<0>(element_map[index])); + Segment & seg = mesh.LineSegment(index); if(seg.si == -1){ seg.si = bccounter + 1; if(bccounter_tmp == bccounter) mesh.SetBCName(bccounter, "default"); // could be more efficient