Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics in the energy plugin
[simgrid.git] / src / smpi / colls / reduce-flat-tree.cpp
index 685fc2f..a12009c 100644 (file)
@@ -20,8 +20,8 @@ smpi_coll_tuned_reduce_flat_tree(void *sbuf, void *rbuf, int count,
   char *inbuf;
   MPI_Status status;
 
-  rank = smpi_comm_rank(comm);
-  size = smpi_comm_size(comm);
+  rank = comm->rank();
+  size = comm->size();
 
   /* If not root, send data to the root. */
   extent = smpi_datatype_get_extent(dtype);