From 75e31070f6f32fc98735f74fbe9a15dc2cdf0d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 15 Dec 2017 10:48:02 +0100 Subject: [PATCH] Fixed not initializing the visited flags to 'false' --- .../CGAL/Periodic_3_triangulation_ds_vertex_base_3.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_ds_vertex_base_3.h b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_ds_vertex_base_3.h index 62ce3c2fbc2..e1be0bf137f 100644 --- a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_ds_vertex_base_3.h +++ b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_ds_vertex_base_3.h @@ -46,10 +46,18 @@ public: }; Periodic_3_triangulation_ds_vertex_base_3() - : _c(), _off(), offset_flag(false) {} + : _c(), _off(), offset_flag(false) +#ifdef CGAL_PERIODIC_TRIANGULATION_USE_VISITED_VERTEX_BOOLEAN + , visited_for_vertex_extractor(false) +#endif + {} Periodic_3_triangulation_ds_vertex_base_3(const Cell_handle& c) - : _c(c), _off(), offset_flag(false) {} + : _c(c), _off(), offset_flag(false) +#ifdef CGAL_PERIODIC_TRIANGULATION_USE_VISITED_VERTEX_BOOLEAN + , visited_for_vertex_extractor(false) +#endif + {} const Cell_handle& cell() const { return _c; }