From 303f4910cb02a5eea5e8145a9bfa729aa95074e8 Mon Sep 17 00:00:00 2001 From: ZCWang <1627343141@qq.com> Date: Wed, 30 Oct 2024 10:13:00 +0800 Subject: [PATCH] now 2 vector container should be working properly without logical errors. --- implicit_arrangements/src/add_plane.cpp | 3 ++- shared_module/container/static_vector.hpp | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/implicit_arrangements/src/add_plane.cpp b/implicit_arrangements/src/add_plane.cpp index 389eb73..d721ec5 100644 --- a/implicit_arrangements/src/add_plane.cpp +++ b/implicit_arrangements/src/add_plane.cpp @@ -17,6 +17,7 @@ inline void shrink(small_vector_mp& c, small_vector_mp& index_map, index_map[i] = active_count; active_count++; } + std::cout << "shrink: " << s << " -> " << active_count << std::endl; c.resize(active_count); } @@ -235,7 +236,7 @@ uint32_t add_plane(const PlaneGroup<3>& repo, IAComplex<3>& ia_complex, uint32_t // Step 7: remove unused geometries. remove_unused_geometry(ia_complex); - std::cout << "test" << std::endl; + std::cout << "an add_plane() completed" << std::endl; return coplanar_plane; } \ No newline at end of file diff --git a/shared_module/container/static_vector.hpp b/shared_module/container/static_vector.hpp index acd376d..9c95fc8 100644 --- a/shared_module/container/static_vector.hpp +++ b/shared_module/container/static_vector.hpp @@ -9,7 +9,6 @@ #pragma warning(disable : 26495) #endif - template class static_vector {