diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java index 47db8b050..ac98439b4 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java @@ -144,7 +144,6 @@ public class LaguerreSolver extends AbstractPolynomialSolver { */ public double laguerre(double lo, double hi, double fLo, double fHi) { - double result = Double.NaN; double coefficients[] = getCoefficients(); Complex c[] = new Complex[coefficients.length]; for (int i = 0; i < coefficients.length; i++) {