]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Debug in CU intersector.
authorageay <ageay>
Mon, 5 Nov 2012 08:50:44 +0000 (08:50 +0000)
committerageay <ageay>
Mon, 5 Nov 2012 08:50:44 +0000 (08:50 +0000)
src/INTERP_KERNEL/InterpolationCU.txx

index f9528e1857062d5e157a4e2e47fe87e1fe09aeaa..af2cf5fae4256fe33d9da473763fb394524edfbb 100644 (file)
@@ -148,7 +148,7 @@ namespace INTERP_KERNEL
         bool doItersect = true;
         for ( int j = 0; j < dim && doItersect; ++j )
           doItersect =
-            bb[j*2]   < src_coords[j][ src_nb_coords[0]-1 ] - eps &&
+            bb[j*2]   < src_coords[j][ src_nb_coords[j]-1 ] - eps &&
             bb[j*2+1] > src_coords[j][0] + eps;
         if ( !doItersect )
           continue; // no intersection