Fixed broken polynomial degree in bisection algorithm
This commit is contained in:
parent
fa5616f3cc
commit
748964c871
|
@ -112,11 +112,11 @@ begin
|
||||||
Result := TIsolatingIntervals.Create;
|
Result := TIsolatingIntervals.Create;
|
||||||
stack := TWorkStack.Create;
|
stack := TWorkStack.Create;
|
||||||
|
|
||||||
n := item.P.Degree;
|
|
||||||
item.C := 0;
|
item.C := 0;
|
||||||
item.K := 0;
|
item.K := 0;
|
||||||
item.P := APolynomial.ScaleVariable(ABound);
|
item.P := APolynomial.ScaleVariable(ABound);
|
||||||
stack.Push(item);
|
stack.Push(item);
|
||||||
|
n := item.P.Degree;
|
||||||
|
|
||||||
while stack.Count > 0 do
|
while stack.Count > 0 do
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in New Issue