From 8d7071352f731df078b51c08e979c37db2660da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Tue, 5 Oct 2021 11:42:50 +0200 Subject: [PATCH] Fix uninitialized id maps in SM_distance_3 --- .../CGAL/Heat_method_3/Surface_mesh_geodesic_distances_3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Heat_method_3/include/CGAL/Heat_method_3/Surface_mesh_geodesic_distances_3.h b/Heat_method_3/include/CGAL/Heat_method_3/Surface_mesh_geodesic_distances_3.h index d1499bbca35..5a0adb0fcdb 100644 --- a/Heat_method_3/include/CGAL/Heat_method_3/Surface_mesh_geodesic_distances_3.h +++ b/Heat_method_3/include/CGAL/Heat_method_3/Surface_mesh_geodesic_distances_3.h @@ -110,7 +110,7 @@ public: \brief Constructor */ Surface_mesh_geodesic_distances_3(const TriangleMesh& tm, VertexPointMap vpm) - : v2v(tm), tm(tm), vpm(vpm) + : vertex_id_map(get(Vertex_property_tag(),tm)), face_id_map(get(Face_property_tag(),tm)), v2v(tm), tm(tm), vpm(vpm) { build(); }