0022689: Infinite loop in BRepExtrema_DistanceSS, in static function TRIM_INFINIT_FACE
[occt.git] / src / BRepExtrema / BRepExtrema_DistanceSS.cxx
index beda02c..9e5b247 100755 (executable)
@@ -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);