From: eap Date: Thu, 8 Oct 2009 14:07:22 +0000 (+0000) Subject: 0020525: [CEA] test MEDMEM fails X-Git-Tag: V5_1_main_FINAL~316 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=97086703b93eb7a45b5e870a1ec86cda3efc176e;p=tools%2Fmedcoupling.git 0020525: [CEA] test MEDMEM fails - if ( meshS.getTypeOfElement( i ) != NORM_TRI3 ) + if ( meshS.getTypeOfElement( OTT::indFC( i )) != NORM_TRI3 ) --- diff --git a/src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.txx b/src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.txx index 49476a463..009009cfc 100644 --- a/src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.txx +++ b/src/INTERP_KERNEL/PlanarIntersectorP1P0Bary.txx @@ -44,7 +44,7 @@ namespace INTERP_KERNEL const unsigned long numSrcElems = meshS.getNumberOfElements(); for(unsigned long i = 0 ; i < numSrcElems ; ++i) - if ( meshS.getTypeOfElement( i ) != NORM_TRI3 ) + if ( meshS.getTypeOfElement( OTT::indFC( i )) != NORM_TRI3 ) throw INTERP_KERNEL::Exception("P1P0 barycentric algorithm works only with triangular source meshes"); }