From 421c88d3633a75b539a62d7867a8716fe5ea4763 Mon Sep 17 00:00:00 2001 From: Sven Oesau Date: Thu, 1 Sep 2022 19:30:09 +0200 Subject: [PATCH] using m_region_map instead of m_visited resolves failed test on Archlinux-clang-release --- .../CGAL/Shape_detection/Region_growing/Region_growing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shape_detection/include/CGAL/Shape_detection/Region_growing/Region_growing.h b/Shape_detection/include/CGAL/Shape_detection/Region_growing/Region_growing.h index e9dccb3e2d7..c11183acd1c 100644 --- a/Shape_detection/include/CGAL/Shape_detection/Region_growing/Region_growing.h +++ b/Shape_detection/include/CGAL/Shape_detection/Region_growing/Region_growing.h @@ -290,7 +290,7 @@ namespace Shape_detection { for (auto it = input_range.begin(); it != input_range.end(); it++) { Item i = get(item_map_,it); - if (!get(m_visited, i)) + if (get(m_region_map, i) == std::size_t(-1)) *(output++) = i; } return output;