mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 13:30:34 +05:00
Merge branch 'fix_seg_bcname' into 'master'
seg.cd2i is not set, seg.edgenr is used everywhere else See merge request jschoeberl/netgen!104
This commit is contained in:
commit
f023b1ac2f
@ -1173,7 +1173,7 @@ namespace netgen
|
||||
for (i = 1; i<= GetNSeg(); i++)
|
||||
{
|
||||
Segment & seg = LineSegment(i);
|
||||
if ( seg.cd2i <= n )
|
||||
if ( seg.edgenr <= n )
|
||||
seg.SetBCName (cd2names[seg.edgenr-1]);
|
||||
else
|
||||
seg.SetBCName(0);
|
||||
|
Loading…
Reference in New Issue
Block a user