mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +05:00
seg.cd2i is not set, seg.edgenr is used everywhere else
This commit is contained in:
parent
301e379570
commit
c52cc71a7b
@ -1173,7 +1173,7 @@ namespace netgen
|
|||||||
for (i = 1; i<= GetNSeg(); i++)
|
for (i = 1; i<= GetNSeg(); i++)
|
||||||
{
|
{
|
||||||
Segment & seg = LineSegment(i);
|
Segment & seg = LineSegment(i);
|
||||||
if ( seg.cd2i <= n )
|
if ( seg.edgenr <= n )
|
||||||
seg.SetBCName (cd2names[seg.edgenr-1]);
|
seg.SetBCName (cd2names[seg.edgenr-1]);
|
||||||
else
|
else
|
||||||
seg.SetBCName(0);
|
seg.SetBCName(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user