From: Anthony Geay Date: Wed, 29 Aug 2018 06:45:13 +0000 (+0200) Subject: agy : before big one X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=39f2fc1f7583641f299118b2fc0ff9b79f574f45;p=tools%2Fmedcoupling.git agy : before big one --- diff --git a/src/INTERP_KERNEL/PointLocatorAlgos.txx b/src/INTERP_KERNEL/PointLocatorAlgos.txx index 2c19ff49d..07abf8a6b 100644 --- a/src/INTERP_KERNEL/PointLocatorAlgos.txx +++ b/src/INTERP_KERNEL/PointLocatorAlgos.txx @@ -170,12 +170,11 @@ namespace INTERP_KERNEL const NumberingPolicy numPol=MyMeshType::My_numPol; const CellModel& cmType=CellModel::GetCellModel(type); - if (cmType.isQuadratic()) - throw INTERP_KERNEL::Exception("PointLocatorAlgos.txx::isElementContainsPoint(): Invalid cell type detected! Quadratic types not supported!"); - // if (SPACEDIM==2) { + if (cmType.isQuadratic()) + throw INTERP_KERNEL::Exception("PointLocatorAlgos.txx::isElementContainsPoint(): Invalid cell type detected! Quadratic types not supported!"); int nbEdges=cmType.getNumberOfSons(); double *pts = new double[nbEdges*SPACEDIM]; for (int iedge=0; iedge