Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This time really attempt compiling with gcc 6 before pushing.
authordegomme <augustin.degomme@unibas.ch>
Mon, 6 Mar 2017 14:03:19 +0000 (15:03 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Mon, 6 Mar 2017 14:03:19 +0000 (15:03 +0100)
src/smpi/smpi_group.cpp

index d92277b..1d2619d 100644 (file)
@@ -69,7 +69,6 @@ Group::~Group()
 void Group::destroy()
 {
   if(this != MPI_COMM_WORLD->group()
-          && this != MPI_GROUP_NULL
           && this != MPI_GROUP_EMPTY)
   this->unuse();
 }
@@ -169,7 +168,6 @@ int Group::incl(int n, int* ranks, MPI_Group* newgroup)
   } else if (n == m_size) {
     *newgroup = this;
     if(this!= MPI_COMM_WORLD->group()
-              && this != MPI_GROUP_NULL
               && this != MPI_COMM_SELF->group()
               && this != MPI_GROUP_EMPTY)
     this->use();