fix Element(i,i,i) ctor

This commit is contained in:
Joachim Schöberl 2019-08-26 10:37:25 +02:00
parent 002d620b94
commit 2cce200a67

View File

@ -236,8 +236,8 @@ namespace netgen
np = 3;
typ = TRIG;
for (int i = 0; i < ELEMENT2D_MAXPOINTS; i++)
pnum[i].Invalidate();
for (int i = 3; i < ELEMENT2D_MAXPOINTS; i++)
pnum[i].Invalidate();
for (int i = 0; i < ELEMENT2D_MAXPOINTS; i++)
geominfo[i].trignum = 0;