From: ageay Date: Mon, 5 Nov 2012 08:50:44 +0000 (+0000) Subject: Debug in CU intersector. X-Git-Tag: V6_6_0b1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=75be98e58defebb85956ab2b1a096788c3d07ef5;p=tools%2Fmedcoupling.git Debug in CU intersector. --- diff --git a/src/INTERP_KERNEL/InterpolationCU.txx b/src/INTERP_KERNEL/InterpolationCU.txx index f9528e185..af2cf5fae 100644 --- a/src/INTERP_KERNEL/InterpolationCU.txx +++ b/src/INTERP_KERNEL/InterpolationCU.txx @@ -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