fix typo in divide segments in zrefine

This commit is contained in:
Christopher Lackner 2023-04-19 12:07:45 +02:00
parent c14c798235
commit 6fcfdc7def

View File

@ -6335,8 +6335,8 @@ namespace netgen
Segment snew = seg; Segment snew = seg;
if(c2) if(c2)
{ {
seg[0] = ipts[ipts.Size()-1-i]; snew[0] = ipts[ipts.Size()-1-i];
seg[1] = ipts[ipts.Size()-2-i]; snew[1] = ipts[ipts.Size()-2-i];
} }
else else
{ {