X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNEL%2FInterpolationCU.txx;h=69d0c6ade1a1d1d2ffd7326928b3fd07b1575752;hb=19a5d11f2c31745a83bd6993357263641c0babe5;hp=f9528e1857062d5e157a4e2e47fe87e1fe09aeaa;hpb=10f37bf6f33a762626d7f1093b2f5450c1688667;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNEL/InterpolationCU.txx b/src/INTERP_KERNEL/InterpolationCU.txx index f9528e185..69d0c6ade 100644 --- a/src/INTERP_KERNEL/InterpolationCU.txx +++ b/src/INTERP_KERNEL/InterpolationCU.txx @@ -1,9 +1,9 @@ -// Copyright (C) 2009-2012 OPEN CASCADE +// Copyright (C) 2009-2016 OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -97,7 +97,6 @@ namespace INTERP_KERNEL MatrixType& result, const char * method) { - typedef typename MyUMeshType::MyConnType ConnType; typedef typename MyCMeshType::MyConnType CConnType; if ( std::string("P0P0") != method ) @@ -148,7 +147,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