Skip to content

Commit

Permalink
[ci skip] semicolon and linewidth
Browse files Browse the repository at this point in the history
  • Loading branch information
EricaCMitchell committed Sep 16, 2024
1 parent 90480d3 commit c4112e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/madness/world/worldgop.h
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ namespace madness {
}
return static_cast<T *>(ptr);
#else
return static_cast<T*>(std::aligned_alloc(alignment, buf_size))
return static_cast<T*>(std::aligned_alloc(alignment, buf_size));
#endif
};
if (child0 != -1)
Expand Down Expand Up @@ -972,7 +972,8 @@ namespace madness {
free_dtor{});

// transfer data in chunks at most this large
const int batch_size = static_cast<int>(std::min(static_cast<size_t>(max_reducebcast_msg_size()),bufsz));
const int batch_size = static_cast<int>(
std::min(static_cast<size_t>(max_reducebcast_msg_size()),bufsz));

// precompute max # of tags any node ... will need, and allocate them on every node to avoid tag counter divergence
const int max_nbatch = bufsz / batch_size;
Expand Down

0 comments on commit c4112e5

Please sign in to comment.