]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
icc porting
authorageay <ageay>
Mon, 28 Mar 2011 14:48:11 +0000 (14:48 +0000)
committerageay <ageay>
Mon, 28 Mar 2011 14:48:11 +0000 (14:48 +0000)
src/INTERP_KERNEL/PlanarIntersectorP1P0PL.txx

index 4973f93d1042cdb1f9eb241ed7608111454d99ea..5e655dffd9d52c5a675b8d941ebe4641eef95544 100644 (file)
@@ -60,7 +60,7 @@ namespace INTERP_KERNEL
         else
           {
             double littleTargetCell[9];
-            std::copy(baryT,baryT+3,littleTargetCell);
+            std::copy(baryT,baryT+SPACEDIM,littleTargetCell);
             std::copy(CoordsT.begin(),CoordsT.begin()+3,littleTargetCell+3);
             std::copy(CoordsT.begin()+3,CoordsT.begin()+6,littleTargetCell+6);
             PlanarIntersector<MyMeshType,MyMatrix>::projectionThis(&CoordsS[0],littleTargetCell,3,3);