From bd04336674992a15c123de93d93a6ae7e133674e Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 19 May 2020 16:42:44 +0100 Subject: [PATCH] Fix variable name. Why did this compile locally?? --- BGL/include/CGAL/boost/graph/Euler_operations.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BGL/include/CGAL/boost/graph/Euler_operations.h b/BGL/include/CGAL/boost/graph/Euler_operations.h index 036b33bf17d..59d595b4f49 100644 --- a/BGL/include/CGAL/boost/graph/Euler_operations.h +++ b/BGL/include/CGAL/boost/graph/Euler_operations.h @@ -642,12 +642,12 @@ bool can_add_face(const VertexRange& vrange, const PMesh& sm) CGAL_precondition(is_border(prev_hd,sm)); break; } - halfedge_around_vertex = opposite(next(v,sm),sm); + halfedge_around_vertex = opposite(next(halfedge_around_vertex,sm),sm); } while (halfedge_around_vertex!=start); if (prev_hd != boost::graph_traits::null_halfedge()){ - halfedge_around_vertex = opposite(next(v,sm),sm); + halfedge_around_vertex = opposite(next(halfedge_around_vertex,sm),sm); //prev_hd and next are already consecutive in the HDS if (target(opposite(halfedge_around_vertex,sm),sm)==next_vertex) continue; @@ -668,7 +668,7 @@ bool can_add_face(const VertexRange& vrange, const PMesh& sm) //prev_hd and next_hd to be adjacent: do{ halfedge_around_vertex = opposite(next(halfedge_around_vertex, sm),sm); - if ( is_border(opposite(v,sm),sm) ) break; + if ( is_border(opposite(halfedge_around_vertex,sm),sm) ) break; } while (halfedge_around_vertex != prev_hd); if (halfedge_around_vertex == prev_hd) return false;