From: ageay Date: Fri, 14 Dec 2012 14:17:52 +0000 (+0000) Subject: Bug when several ouput polygons in residual of m1 inter m2. X-Git-Tag: V6_main_FINAL~454 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0abe507bf26a2551120a88b12d60b7ca2a4fd212;p=tools%2Fmedcoupling.git Bug when several ouput polygons in residual of m1 inter m2. --- diff --git a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx b/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx index cda93691c..143bef282 100644 --- a/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx +++ b/src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx @@ -1228,7 +1228,6 @@ void QuadraticPolygon::ComputeResidual(const QuadraticPolygon& pol1, const std:: for(std::list::iterator it6=pol1ZipConsumed[*it1].begin();it6!=pol1ZipConsumed[*it1].end();it6++) delete *it6; delete *it1; - it1=retPolsUnderContruction.erase(it1); } } }