From 0f22a3318caf56e73c8aedf168c868c9c725609b Mon Sep 17 00:00:00 2001 From: ageay Date: Wed, 4 Apr 2012 15:08:30 +0000 Subject: [PATCH] Correction of bug on MEDCouplingFieldDouble::buildSubPart for fields on nodes. --- src/MEDLoader/Swig/MEDLoaderTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2