Skip to content

Commit

Permalink
world.gop.concat0 can work for non-trivially-copyable types
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Sep 17, 2024
1 parent e9d3a93 commit 231e83f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/madness/world/worldgop.h
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,6 @@ namespace madness {
/// \return on rank 0 returns the concatenated vector, elsewhere returns an empty vector
template <typename T>
std::vector<T> concat0(const std::vector<T>& v, size_t bufsz=1024*1024) {
static_assert(std::is_trivially_copyable_v<T>, "T must be trivially copyable");
MADNESS_ASSERT(bufsz <= std::numeric_limits<int>::max());

ProcessID parent, child0, child1;
Expand Down

0 comments on commit 231e83f

Please sign in to comment.