]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Bug fix: BuildIntersectCells() should no try to merge points at all. Done before.
authorabn <adrien.bruneton@cea.fr>
Thu, 17 Jan 2019 12:47:03 +0000 (13:47 +0100)
committerabn <adrien.bruneton@cea.fr>
Thu, 17 Jan 2019 12:56:45 +0000 (13:56 +0100)
src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdge.cxx

index 0a2f41f676aea3d64fc4f42ddf93afab1c1fb70a..d276a62969c43377eba2a8550b32bca80b4bfcb7 100644 (file)
@@ -1022,16 +1022,6 @@ void Edge::sortIdsAbs(const std::vector<INTERP_KERNEL::Node *>& addNodes, const
   for(std::vector< std::pair<double,Node *> >::const_iterator it=an2.begin();it!=an2.end();it++)
     {
       int idd=(*mapp2.find((*it).second)).second;
-      if((*it).first<QuadraticPlanarPrecision::getPrecision())
-        {
-          startId=idd;
-          continue;
-        }
-      if((*it).first>1-QuadraticPlanarPrecision::getPrecision())
-        {
-          endId=idd;
-          continue;
-        }
       tmpp.push_back(idd);
     }
   std::vector<int> tmpp2(tmpp.size()+2);