]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
little imp
authorageay <ageay>
Fri, 22 Feb 2013 16:33:00 +0000 (16:33 +0000)
committerageay <ageay>
Fri, 22 Feb 2013 16:33:00 +0000 (16:33 +0000)
src/MEDLoader/MEDFileField.cxx

index a94f554730ab9edc0efda88fc1759c3f8f4feafb..874b102459343c9b513f8496175354a70d32fe8f 100644 (file)
@@ -2219,7 +2219,7 @@ MEDCouplingFieldDouble *MEDFileFieldPerMesh::finishFieldNode2(const MEDFileField
   int nnodes=mesh2->getNumberOfNodes();
   if(nnodes==da->getNbOfElems())
     {
-      MEDCouplingAutoRefCountObjectPtr<DataArrayInt> da3=da->transformWithIndArrR(arr2->getConstPointer(),arr2->getConstPointer()+arr2->getNbOfElems());
+      MEDCouplingAutoRefCountObjectPtr<DataArrayInt> da3=da->transformWithIndArrR(arr2->begin(),arr2->end());
       ret->getArray()->renumberInPlace(da3->getConstPointer());
       mesh2->setName(mesh->getName());
       ret->setMesh(mesh2);