diff --git a/src/main/java/org/apache/commons/math3/analysis/differentiation/DSCompiler.java b/src/main/java/org/apache/commons/math3/analysis/differentiation/DSCompiler.java index e45e1c2f6..d0e00c5d1 100644 --- a/src/main/java/org/apache/commons/math3/analysis/differentiation/DSCompiler.java +++ b/src/main/java/org/apache/commons/math3/analysis/differentiation/DSCompiler.java @@ -1034,7 +1034,6 @@ public class DSCompiler { */ public void log1p(final double[] operand, final int operandOffset, final double[] result, final int resultOffset) { - // create the function value and derivatives double[] function = new double[1 + order]; @@ -1062,7 +1061,6 @@ public class DSCompiler { */ public void log10(final double[] operand, final int operandOffset, final double[] result, final int resultOffset) { - // create the function value and derivatives double[] function = new double[1 + order]; @@ -1713,7 +1711,7 @@ public class DSCompiler { } /** Evaluate Taylor expansion of a derivative structure. - * @param ds array holding the derivative structure + * @param ds array holding the derivative structure * @param dsOffset offset of the derivative structure in its array * @param delta parameters offsets (Δx, Δy, ...) * @return value of the Taylor expansion at x + Δx, y + Δy, ...