X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/32965191d7fcfb85c4f0da9f118826b70f7d32ba..eda8761162ea40271daf72d84c25b8c030f510e9:/src/smpi/smpi_pmpi.cpp diff --git a/src/smpi/smpi_pmpi.cpp b/src/smpi/smpi_pmpi.cpp index 5acaab9eb5..6e89a6d9a6 100644 --- a/src/smpi/smpi_pmpi.cpp +++ b/src/smpi/smpi_pmpi.cpp @@ -1773,7 +1773,7 @@ int PMPI_Reduce_local(void *inbuf, void *inoutbuf, int count, MPI_Datatype datat if (!datatype->is_valid() || op == MPI_OP_NULL) { retval = MPI_ERR_ARG; } else { - if(op!=MPI_OP_NULL) op->apply( inbuf, inoutbuf, &count, datatype); + op->apply(inbuf, inoutbuf, &count, datatype); retval = MPI_SUCCESS; } smpi_bench_begin();