From: ageay Date: Wed, 4 Apr 2012 15:08:30 +0000 (+0000) Subject: Correction of bug on MEDCouplingFieldDouble::buildSubPart for fields on nodes. X-Git-Tag: V6_main_FINAL~679 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f22a3318caf56e73c8aedf168c868c9c725609b;p=tools%2Fmedcoupling.git Correction of bug on MEDCouplingFieldDouble::buildSubPart for fields on nodes. --- diff --git a/src/MEDLoader/Swig/MEDLoaderTest.py b/src/MEDLoader/Swig/MEDLoaderTest.py index 85830fb72..7eb90e933 100644 --- a/src/MEDLoader/Swig/MEDLoaderTest.py +++ b/src/MEDLoader/Swig/MEDLoaderTest.py @@ -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