]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
For windows.
authorageay <ageay>
Tue, 20 Jul 2010 11:03:39 +0000 (11:03 +0000)
committerageay <ageay>
Tue, 20 Jul 2010 11:03:39 +0000 (11:03 +0000)
src/MEDCoupling/MEDCouplingUMesh.cxx

index fbec8fc3d478831011669cb0907cfdf7592bde5e..342fc33a8738b06d1969e8dc19f1e5cc9bfd2664 100644 (file)
@@ -626,7 +626,7 @@ DataArrayInt *MEDCouplingUMesh::zipConnectivityTraducer(int compType)
             }
             id++;
       }
-  MEDCouplingUMesh *self=(MEDCouplingUMesh *)buildPartOfMySelf(&cellsToKeep[0],&cellsToKeep[cellsToKeep.size()],true);
+  MEDCouplingUMesh *self=(MEDCouplingUMesh *)buildPartOfMySelf(&cellsToKeep[0],&cellsToKeep[0]+cellsToKeep.size(),true);
   setConnectivity(self->getNodalConnectivity(),self->getNodalConnectivityIndex(),true);
   self->decrRef();
   return ret;