Skip to content

Commit

Permalink
Update radfield.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
jpollin98 committed Apr 29, 2024
1 parent e9bcc8a commit 43bba1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radfield.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ void reduce_estimators()
for (int nonemptymgi = 0; nonemptymgi < nonempty_npts_model; nonemptymgi++) {
MPI_Allreduce(MPI_IN_PLACE,
&bfrate_raw[static_cast<size_t>(nonemptymgi) * static_cast<size_t>(globals::bfestimcount)],
globals::bfestimcount, MPI_DOUBLE, MPI_SUM, MPI_COMM_WORLD);
globals::bfestimcount, MPI_DOUBLE, MPI_SUM, mpi_comm_node);
}

if (globals::rank_in_node == 0) {
Expand Down

0 comments on commit 43bba1c

Please sign in to comment.