From 75be98e58defebb85956ab2b1a096788c3d07ef5 Mon Sep 17 00:00:00 2001 From: ageay Date: Mon, 5 Nov 2012 08:50:44 +0000 Subject: [PATCH] Debug in CU intersector. --- src/INTERP_KERNEL/InterpolationCU.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2