From: ageay Date: Mon, 10 Jun 2013 11:17:31 +0000 (+0000) Subject: Improve a little the performance X-Git-Tag: OK_100613 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5251e4455aa38fa1bcec03d70e894bf09b66b20d;p=tools%2Fmedcoupling.git Improve a little the performance --- diff --git a/src/MEDLoader/Swig/MEDLoaderSplitter.py b/src/MEDLoader/Swig/MEDLoaderSplitter.py index dccd3e070..b7388b65e 100644 --- a/src/MEDLoader/Swig/MEDLoaderSplitter.py +++ b/src/MEDLoader/Swig/MEDLoaderSplitter.py @@ -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