Browse Source

now 2 vector container should be working properly without logical errors.

pull/1/head
ZCWang 7 months ago
parent
commit
303f4910cb
  1. 3
      implicit_arrangements/src/add_plane.cpp
  2. 1
      shared_module/container/static_vector.hpp

3
implicit_arrangements/src/add_plane.cpp

@ -17,6 +17,7 @@ inline void shrink(small_vector_mp<T>& c, small_vector_mp<uint32_t>& 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;
}

1
shared_module/container/static_vector.hpp

@ -9,7 +9,6 @@
#pragma warning(disable : 26495)
#endif
template <class T, std::size_t N = 16>
class static_vector
{

Loading…
Cancel
Save