Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Sep 17, 2024
2 parents c62de40 + 0b26127 commit e9d3a93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/madness/world/worldgop.h
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,7 @@ 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 e9d3a93

Please sign in to comment.