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