// avoid adding it when treating another face
process = midPoints.insert( face->GetPointId(p2) ).second; break;
case 1: // the edge is shared by two cells
- process = ( cellIdsTmp->GetId(0) == cellId ); break;
+ process = ( cellIdsTmp->GetId(0) < cellId ); break;
default: // the edge is shared by >2 cells
- process = ( cellIdsTmp->GetId(0) != cellId ); break;
+ process = ( cellIdsTmp->GetId(0) < cellId ); break;
}
if ( process )
{