aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-11-06 13:30:05 -0500
committerErik Schnetter <schnetter@gmail.com>2012-11-06 13:30:05 -0500
commit58d4a096a641374a9c6903aff4551752f68a3419 (patch)
tree29c4b607b8784b1f683b549934cbaadae7999a90 /Carpet/CarpetLib
parentf6a100cb2f2331247647321217028ab64a252efd (diff)
CarpetLib: Use correct MPI reduction operator for product reductions
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r--Carpet/CarpetLib/src/dist.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/dist.cc b/Carpet/CarpetLib/src/dist.cc
index ad0d46696..77d7f4d1d 100644
--- a/Carpet/CarpetLib/src/dist.cc
+++ b/Carpet/CarpetLib/src/dist.cc
@@ -221,7 +221,7 @@ namespace dist {
#endif
MPI_Op_create (op_max, 1, &mpi_max);
MPI_Op_create (op_min, 1, &mpi_min);
- MPI_Op_create (op_sum, 1, &mpi_prod);
+ MPI_Op_create (op_prod, 1, &mpi_prod);
MPI_Op_create (op_sum, 1, &mpi_sum);