]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Debug
authorageay <ageay>
Thu, 12 Dec 2013 15:12:19 +0000 (15:12 +0000)
committerageay <ageay>
Thu, 12 Dec 2013 15:12:19 +0000 (15:12 +0000)
src/MEDLoader/MEDFileFieldOverView.cxx

index a99d451bbcda0973d52f64fc007151859cee2f6b..2a67876662ff466ce8c980cdfe52300278323029 100644 (file)
@@ -613,7 +613,7 @@ MEDUMeshMultiLev::MEDUMeshMultiLev(const MEDFileUMesh *m, const std::vector<INTE
       _parts[i]=elt;
     }
   // ids fields management
-  int lev(m->getMeshDimension()-(int)dim);
+  int lev((int)dim-m->getMeshDimension());
   if(isSameDim && isNoPfl && m->getGeoTypesAtLevel(lev)==gts)//optimized part
     {
       _cell_fam_ids_nocpy=true;