mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0023748: Bad monitoring of intermediate results in offset commands
This commit is contained in:
@@ -79,7 +79,7 @@ void math_BissecNewton::Perform(math_FunctionWithDerivative& F,
|
||||
dxold = dx;
|
||||
dx = 0.5 * (xh - xl);
|
||||
x = xl + dx;
|
||||
if(xl == x) {
|
||||
if(Abs(dx) < XTol) {
|
||||
TheStatus = math_OK;
|
||||
Done = Standard_True;
|
||||
return;
|
||||
|
Reference in New Issue
Block a user