From deb68d8851ce5920fa226c437224a98f143ee8cc Mon Sep 17 00:00:00 2001 From: ageay Date: Mon, 10 Jun 2013 11:17:31 +0000 Subject: [PATCH] Improve a little the performance --- src/MEDLoader/Swig/MEDLoaderSplitter.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.39.2