fix for recent change

This commit is contained in:
Joachim Schöberl 2019-09-21 02:22:20 +02:00
parent 5332762b96
commit d46453050d

View File

@ -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<netgen::STLTrigId>())][i]);
el.SetIndex(1);