bugfix in occ close surface identification

This commit is contained in:
Matthias Hochsteger 2022-10-04 12:15:45 +02:00
parent 92fb557314
commit 7712429cc2

View File

@ -641,7 +641,7 @@ namespace netgen
}
// reverse entries if we have decreasing parameters
if(edge_params.Size()>2 && edge_params[0] > edge_params.Last())
if(edge_params.Size()>=2 && edge_params[0] > edge_params.Last())
for(auto i : Range((np-2)/2))
{
swap(edge_points[i], edge_points[np-3-i]);