From f56cbecce98177f2c2e5a1ba5ecce3daf950f50b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 23 Nov 2020 16:36:05 +0100 Subject: [PATCH] add missing resize for autoref case --- .../CGAL/Polygon_mesh_processing/internal/Corefinement/Visitor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Visitor.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Visitor.h index 43bc4889aee..00650c75161 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Visitor.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Visitor.h @@ -390,6 +390,7 @@ void check_node_on_boundary_vertex_case(std::size_t node_id, const TriangleMesh& tm) // TODO check if we need a special case if the endpoint of the intersect edge is on the third face { CGAL_assertion(f1!=f2 && f1!=f3 && f2!=f3); + is_node_on_boundary.resize(node_id+1, false); TriangleMesh* tm_ptr = const_cast(&tm); // user_visitor.new_node_added_triple_face(node_id, f1, f2, f3, tm); // NODE_VISITOR_TAG #ifdef CGAL_DEBUG_AUTOREFINEMENT