From ed0d16d8eabf02c762d3cb0c8a68acde21e5b192 Mon Sep 17 00:00:00 2001 From: SZV <> Date: Wed, 3 Aug 2011 12:34:31 +0000 Subject: [PATCH] 0022689: Infinite loop in BRepExtrema_DistanceSS, in static function TRIM_INFINIT_FACE --- src/BRepExtrema/BRepExtrema_DistanceSS.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BRepExtrema/BRepExtrema_DistanceSS.cxx b/src/BRepExtrema/BRepExtrema_DistanceSS.cxx index beda02c77f..9e5b247a35 100755 --- a/src/BRepExtrema/BRepExtrema_DistanceSS.cxx +++ b/src/BRepExtrema/BRepExtrema_DistanceSS.cxx @@ -347,6 +347,8 @@ static void TRIM_INFINIT_FACE(const TopoDS_Shape& S1, const TopoDS_Shape& S2, Vmin = aV; else if (aV > Vmax) Vmax = aV; + + i++; } GeomAdaptor_Surface aGAS(pSurf);