]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Test no leaks when attaching several times.
authorageay <ageay>
Tue, 23 Feb 2010 10:02:55 +0000 (10:02 +0000)
committerageay <ageay>
Tue, 23 Feb 2010 10:02:55 +0000 (10:02 +0000)
src/ParaMEDMEMTest/ParaMEDMEMTest_InterpKernelDEC.cxx

index 8ccbd03f8da81a658d787626ba2ac6c66fa013fa..0680b02dcce851471ad0a53dd6732324e55d0b9d 100644 (file)
@@ -367,6 +367,7 @@ void ParaMEDMEMTest::testInterpKernelDEC2_2D_(const char *srcMeth, const char *t
         value[ielem]=1.0;
       dec.setMethod(srcMeth);
       dec.attachLocalField(mcfield);
+      dec.attachLocalField(mcfield);
     }
   
   //loading the geometry for the target group
@@ -408,6 +409,7 @@ void ParaMEDMEMTest::testInterpKernelDEC2_2D_(const char *srcMeth, const char *t
         value[ielem]=0.0;
       dec.setMethod(targetMeth);
       dec.attachLocalField(mcfield);
+      dec.attachLocalField(mcfield);
     }