]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Test as before.
authorabn <adrien.bruneton@cea.fr>
Thu, 23 Jul 2015 07:51:47 +0000 (09:51 +0200)
committerabn <adrien.bruneton@cea.fr>
Thu, 23 Jul 2015 07:51:47 +0000 (09:51 +0200)
src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx

index 3c6fc3b257ce4d10866109aa845099ec14a6e64e..91ef8bb8ae82a5b8854da41e41bdb0afddaefe9a 100644 (file)
@@ -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();