From 167f4aca4f02c8b1fb6634301f479b7c856ba1ce Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Tue, 23 Jan 2018 00:33:57 +0100 Subject: [PATCH] [SMPI] Added stupid comment to smpi_group.cpp With all the different class members around, like actor_to_rank_, rank_to_actor_, ..., I didn't realize that this value was passed in as a param. Hope this comment will save someone a few moments in the future. --- src/smpi/mpi/smpi_group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smpi/mpi/smpi_group.cpp b/src/smpi/mpi/smpi_group.cpp index f3715b1594..2128c4c876 100644 --- a/src/smpi/mpi/smpi_group.cpp +++ b/src/smpi/mpi/smpi_group.cpp @@ -136,7 +136,7 @@ int Group::incl(int n, int* ranks, MPI_Group* newgroup) } else { *newgroup = new Group(n); for (i = 0; i < n; i++) { - ActorPtr actor = this->actor(ranks[i]); + ActorPtr actor = this->actor(ranks[i]); // ranks[] was passed as a param! (*newgroup)->set_mapping(actor, i); } } -- 2.20.1