aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);