From: ageay Date: Fri, 22 Feb 2013 16:33:00 +0000 (+0000) Subject: little imp X-Git-Tag: V6_main_FINAL~340 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7e3d0545966ceba9343350bf3f37f6ba8b2e6dc7;p=tools%2Fmedcoupling.git little imp --- diff --git a/src/MEDLoader/MEDFileField.cxx b/src/MEDLoader/MEDFileField.cxx index a94f55473..874b10245 100644 --- a/src/MEDLoader/MEDFileField.cxx +++ b/src/MEDLoader/MEDFileField.cxx @@ -2219,7 +2219,7 @@ MEDCouplingFieldDouble *MEDFileFieldPerMesh::finishFieldNode2(const MEDFileField int nnodes=mesh2->getNumberOfNodes(); if(nnodes==da->getNbOfElems()) { - MEDCouplingAutoRefCountObjectPtr da3=da->transformWithIndArrR(arr2->getConstPointer(),arr2->getConstPointer()+arr2->getNbOfElems()); + MEDCouplingAutoRefCountObjectPtr da3=da->transformWithIndArrR(arr2->begin(),arr2->end()); ret->getArray()->renumberInPlace(da3->getConstPointer()); mesh2->setName(mesh->getName()); ret->setMesh(mesh2);