From 066159f7924d59e16ccd8755e4749f026a895228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 10 Nov 2025 10:17:33 +0100 Subject: [PATCH] assertion should be before the removal... --- BGL/include/CGAL/boost/graph/Euler_operations.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BGL/include/CGAL/boost/graph/Euler_operations.h b/BGL/include/CGAL/boost/graph/Euler_operations.h index 89b58ad0c2b..e33ae5a6910 100644 --- a/BGL/include/CGAL/boost/graph/Euler_operations.h +++ b/BGL/include/CGAL/boost/graph/Euler_operations.h @@ -1804,8 +1804,8 @@ collapse_edge(typename boost::graph_traits::edge_descriptor e, // q will be removed, swap it with p internal::swap_vertices(p, q, g); join_face(edges_to_erase[0],g); - join_vertex(qp,g); CGAL_assertion(source(qp,g)==p); + join_vertex(qp,g); return q; } if(!is_border(opposite(next(qp,g),g),g))