]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Improve a little the performance OK_100613 V6_main_FINAL
authorageay <ageay>
Mon, 10 Jun 2013 11:17:31 +0000 (11:17 +0000)
committerageay <ageay>
Mon, 10 Jun 2013 11:17:31 +0000 (11:17 +0000)
src/MEDLoader/Swig/MEDLoaderSplitter.py

index dccd3e0706e029703c6f94b6c3b4a1fe960d72e5..b7388b65e806a7058af2425707a46cbdddd10b92 100644 (file)
@@ -57,10 +57,7 @@ class MEDLoaderSplitter:
     def __splitMEDFileField1TSCell(cls,f,f1ts,ids):
         fRet=f[ids]
         m=fRet.getMesh() ; m.zipCoords()
-        o2n=m.getRenumArrForMEDFileFrmt()
-        if not o2n.isIdentity():
-            fRet.renumberCells(o2n,False)
-            pass
+        o2n=m.getRenumArrForMEDFileFrmt() ; fRet.renumberCells(o2n,False)
         f1ts.setFieldNoProfileSBT(fRet)
         pass