1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +03:00

0030778: [Regression to 7.3.0] Extrema raises exception StdFail_InfiniteSolutions

The exception StdFail_InfiniteSolutions has been suppressed in all Points() methods.
This commit is contained in:
msv
2019-09-05 18:09:06 +03:00
committed by bugmaster
parent dec7af167b
commit ce64c9ad5e
20 changed files with 25 additions and 88 deletions

View File

@@ -36,9 +36,7 @@
#include <math_DirectPolynomialRoots.hxx>
#include <math_TrigonometricFunctionRoots.hxx>
#include <Precision.hxx>
#include <Standard_NotImplemented.hxx>
#include <Standard_OutOfRange.hxx>
#include <StdFail_InfiniteSolutions.hxx>
#include <StdFail_NotDone.hxx>
#include <stdio.h>
@@ -1100,11 +1098,6 @@ void Extrema_ExtElC::Points (const Standard_Integer N,
Extrema_POnCurv& P1,
Extrema_POnCurv& P2) const
{
if (IsParallel())
{
throw StdFail_InfiniteSolutions();
}
if (N < 1 || N > NbExt())
{
throw Standard_OutOfRange();