Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
takenori-y committed Dec 5, 2023
1 parent bc4a615 commit 7728fd3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ bool LinearPredictiveCoefficientsToLineSpectralPairs::Run(

// Search roots of polynomials.
const double delta(1.0 / num_split_);
for (double x(1.0 - delta); -1.0 <= x; x -= delta) {
const double x_max(1.0 - delta);
const double x_min(-1.0 - delta);
for (double x(x_max); x_min < x; x -= delta) {
double y(CalculateChebyshevPolynomial(*c, x));

if (y * y_prev <= 0.0) {
Expand Down

0 comments on commit 7728fd3

Please sign in to comment.