X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3344890b7ae11302d717d964e6dd96fe2d10ac6a..88f49b34e91fe95b712d1545ae71a0896f5466c1:/src/smpi/colls/allreduce/allreduce-mvapich-two-level.cpp diff --git a/src/smpi/colls/allreduce/allreduce-mvapich-two-level.cpp b/src/smpi/colls/allreduce/allreduce-mvapich-two-level.cpp index 23d02679b4..cc77a93849 100644 --- a/src/smpi/colls/allreduce/allreduce-mvapich-two-level.cpp +++ b/src/smpi/colls/allreduce/allreduce-mvapich-two-level.cpp @@ -91,9 +91,9 @@ int allreduce__mvapich2_two_level(const void *sendbuf, int local_rank = -1, local_size = 0; //if not set (use of the algo directly, without mvapich2 selector) - if(MV2_Allreduce_intra_function==NULL) + if (MV2_Allreduce_intra_function == nullptr) MV2_Allreduce_intra_function = allreduce__mpich; - if(MV2_Allreducection==NULL) + if (MV2_Allreducection == nullptr) MV2_Allreducection = allreduce__rdb; if(comm->get_leaders_comm()==MPI_COMM_NULL){