From d46453050d13018cc9b937f1cb604744d9c2cd15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Sat, 21 Sep 2019 02:22:20 +0200 Subject: [PATCH] fix for recent change --- 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 2b5ce21c..472592ac 100644 --- a/libsrc/interface/readuser.cpp +++ b/libsrc/interface/readuser.cpp @@ -668,7 +668,7 @@ namespace netgen { Element2d el(TRIG); for (auto i : IntRange(3)) - el[i] = (*geom)[STLTrigIndex(ti)][i]; + el[i] = int((*geom)[STLTrigId(ti+IndexBASE())][i]); el.SetIndex(1);