]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Correction of bug on MEDCouplingFieldDouble::buildSubPart for fields on nodes.
authorageay <ageay>
Wed, 4 Apr 2012 15:08:30 +0000 (15:08 +0000)
committerageay <ageay>
Wed, 4 Apr 2012 15:08:30 +0000 (15:08 +0000)
src/MEDLoader/Swig/MEDLoaderTest.py

index 85830fb727ba3669ba621d977ecb2301e478b49b..7eb90e9335bec1da15d87543a33bbe8f321da10c 100644 (file)
@@ -416,7 +416,7 @@ class MEDLoaderTest(unittest.TestCase):
         array.setInfoOnComponent(1,"uiop [MW]");
         f1.setTime(3.14,2,7);
         f1.checkCoherency();
-        arr2=[2,4,5,3,6,7]
+        arr2=[1,4]
         f2=f1.buildSubPart(arr2);
         f2.getMesh().setName(f1.getMesh().getName());
         MEDLoader.MEDLoader.WriteField(fileName,f2,False);#<- False important for the test