diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/intersection_callbacks.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/intersection_callbacks.h index d5389e9f482..f1f45a0413f 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/intersection_callbacks.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/intersection_callbacks.h @@ -57,7 +57,7 @@ public: halfedge_descriptor fh = face_box.info(); halfedge_descriptor eh = edge_box.info(); - edge_to_faces[eh].insert(face(fh, tm_faces)); + edge_to_faces[edge(eh,tm_edges)].insert(face(fh, tm_faces)); } void operator()( const Box* face_box_ptr, const Box* edge_box_ptr) const