X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParaMEDMEMTest%2FParaMEDMEMTest_MPIProcessorGroup.cxx;h=87a8b432b05a8e2e510eb0b75eafe6128bf73ad1;hb=ef668f885e9234b154e36fdbdc26b7cb32d2c0d4;hp=3c6fc3b257ce4d10866109aa845099ec14a6e64e;hpb=d2ea1c98e747e2e8ec9cba37e637e424286b9876;p=tools%2Fmedcoupling.git diff --git a/src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx b/src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx index 3c6fc3b25..87a8b432b 100644 --- a/src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx +++ b/src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D +// Copyright (C) 2007-2020 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -34,7 +34,7 @@ using namespace std; -using namespace ParaMEDMEM; +using namespace MEDCoupling; /* * Check methods defined in MPPIProcessorGroup.hxx @@ -58,11 +58,9 @@ using namespace ParaMEDMEM; void ParaMEDMEMTest::testMPIProcessorGroup_constructor() { CommInterface comm_interface; - MPIProcessorGroup* group; + MPIProcessorGroup* group = new MPIProcessorGroup(comm_interface);; int size; MPI_Comm_size(MPI_COMM_WORLD, &size); - - group= new MPIProcessorGroup(comm_interface); CPPUNIT_ASSERT_EQUAL(size,group->size()); int size2; const MPI_Comm* communicator=group->getComm();