Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush committed Dec 13, 2023
1 parent 7c44aed commit 3dc640f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ void exchange_bins(Array<double> &bins, const std::string op)
global_bins.resize(bins_size);
double *global_ptr = global_bins.get_host_ptr();

if(op == "sum" || op == "pdf" || op == "avg" || op == "count"
if(op == "sum" || op == "pdf" || op == "avg" || op == "count" ||
op == "std" || op == "var" || op == "rms")
{
MPI_Allreduce(bins_ptr, global_ptr, bins_size, MPI_DOUBLE, MPI_SUM, mpi_comm);
Expand Down

0 comments on commit 3dc640f

Please sign in to comment.