mirror of https://github.com/CGAL/cgal
Rephrase end condition
This commit is contained in:
parent
9bd79323f6
commit
4bca5d114f
|
|
@ -704,7 +704,7 @@ std::size_t stitch_boundary_cycle(const typename boost::graph_traits<PolygonMesh
|
|||
#endif
|
||||
|
||||
// check if we have reached the end of the cycle
|
||||
if(curr_h == curr_hn || curr_h == next(curr_hn, pm))
|
||||
if(prev(curr_h, pm) == curr_hn || prev(curr_h, pm) == next(curr_hn, pm))
|
||||
{
|
||||
bh = null_h;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue