mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
fix for recent change
This commit is contained in:
parent
5332762b96
commit
d46453050d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user