Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
prefer this_actor:: to Actor::self()->
[simgrid.git] / src / smpi / bindings / smpi_pmpi_group.cpp
index 8d0bee5..6ada956 100644 (file)
@@ -46,7 +46,7 @@ int PMPI_Group_rank(MPI_Group group, int *rank)
   } else if (rank == nullptr) {
     return MPI_ERR_ARG;
   } else {
-    *rank = group->rank(simgrid::s4u::Actor::self()->getPid());
+    *rank = group->rank(simgrid::s4u::this_actor::getPid());
     return MPI_SUCCESS;
   }
 }