Skip to content

Commit

Permalink
fixing formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-dozier committed Jan 7, 2025
1 parent b1cdd60 commit 8796ea8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/ygm/detail/comm.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct comm::header_t {
};

inline comm::comm(int *argc, char ***argv)
: pimpl_if(std::make_shared<detail::mpi_init_finalize>(argc, argv)),
: pimpl_if (std::make_shared<detail::mpi_init_finalize>(argc, argv)),
m_layout(MPI_COMM_WORLD),
m_router(m_layout, config.routing) {
// pimpl_if = std::make_shared<detail::mpi_init_finalize>(argc, argv);
Expand Down Expand Up @@ -938,15 +938,15 @@ inline void comm::queue_message_bytes(const ygm::detail::byte_vector
// forwarded in a bcast
if (config.routing != detail::routing_type::NONE) {
size_t header_bytes = pack_header(send_buff, -1, 0);
if(local) {
if (local) {
m_send_local_buffer_bytes += header_bytes;
} else {
m_send_remote_buffer_bytes += header_bytes;
}
}

send_buff.push_bytes(packed.data(), packed.size());
if(local) {
if (local) {
m_send_local_buffer_bytes += packed.size();
} else {
m_send_remote_buffer_bytes += packed.size();
Expand Down

0 comments on commit 8796ea8

Please sign in to comment.