]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/colls/reduce/reduce-mvapich-two-level.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
new MANIFEST.in after adding ns3 wifi
[simgrid.git] / src / smpi / colls / reduce / reduce-mvapich-two-level.cpp
index b52dcb272370b7dccb27424e6952dc5ca1d00752..b91ee79b22e887e61f291031e3bab24bf956f006 100644 (file)
@@ -95,9 +95,9 @@ int reduce__mvapich2_two_level( const void *sendbuf,
     int intra_node_root=0;
 
     //if not set (use of the algo directly, without mvapich2 selector)
-    if(MV2_Reduce_function==NULL)
+    if (MV2_Reduce_function == nullptr)
       MV2_Reduce_function = reduce__mpich;
-    if(MV2_Reduce_intra_function==NULL)
+    if (MV2_Reduce_intra_function == nullptr)
       MV2_Reduce_intra_function = reduce__mpich;
 
     if(comm->get_leaders_comm()==MPI_COMM_NULL){