mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-11 21:50:34 +05:00
fix for recent change
This commit is contained in:
parent
5332762b96
commit
d46453050d
@ -668,7 +668,7 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
Element2d el(TRIG);
|
Element2d el(TRIG);
|
||||||
for (auto i : IntRange(3))
|
for (auto i : IntRange(3))
|
||||||
el[i] = (*geom)[STLTrigIndex(ti)][i];
|
el[i] = int((*geom)[STLTrigId(ti+IndexBASE<netgen::STLTrigId>())][i]);
|
||||||
|
|
||||||
el.SetIndex(1);
|
el.SetIndex(1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user