From dce40fd747f1ff35a1bbbfc45cc6f3f38d789f99 Mon Sep 17 00:00:00 2001 From: abn Date: Thu, 23 Jul 2015 09:51:47 +0200 Subject: [PATCH] Test as before. --- src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx b/src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx index 3c6fc3b25..91ef8bb8a 100644 --- a/src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx +++ b/src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx @@ -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(); -- 2.39.2