Salome HOME
Addition of QUAD9 to pass MEDReader tests.
[tools/medcoupling.git] / src / INTERP_KERNEL / InterpKernelCellSimplify.cxx
index 0c9799aa11824ef34fa048e55e4d099ef3102e36..76aad6671e2e18bb5280550c8e694fa67f30e440 100644 (file)
@@ -22,6 +22,7 @@
 #include "CellModel.hxx"
 
 #include <algorithm>
+#include <iterator>
 #include <sstream>
 #include <numeric>
 #include <cstring>
@@ -37,8 +38,7 @@ using namespace INTERP_KERNEL;
  * It retrieves the same cell with a potentially different type (in return) whose connectivity is defined by (retConn,retLgth)
  * \b WARNING for optimization reason the arrays 'retConn' and 'conn' can overlapped !
  */
-INTERP_KERNEL::NormalizedCellType CellSimplify::simplifyDegeneratedCell(INTERP_KERNEL::NormalizedCellType type, const int *conn, int lgth,
-                                                                        int *retConn, int& retLgth) throw(INTERP_KERNEL::Exception)
+INTERP_KERNEL::NormalizedCellType CellSimplify::simplifyDegeneratedCell(INTERP_KERNEL::NormalizedCellType type, const int *conn, int lgth, int *retConn, int& retLgth)
 {
   const INTERP_KERNEL::CellModel& cm=INTERP_KERNEL::CellModel::GetCellModel(type);
   std::set<int> c(conn,conn+lgth);