diff --git a/src/main/java/org/apache/commons/math/analysis/interpolation/LoessInterpolator.java b/src/main/java/org/apache/commons/math/analysis/interpolation/LoessInterpolator.java index 565156b64..bb32f4cfb 100644 --- a/src/main/java/org/apache/commons/math/analysis/interpolation/LoessInterpolator.java +++ b/src/main/java/org/apache/commons/math/analysis/interpolation/LoessInterpolator.java @@ -381,7 +381,7 @@ public class LoessInterpolator * the same number of points closest to xval[i], ignoring zero weights. * * @param xval arguments array - * @param xval weights array + * @param weights weights array * @param i the index around which the new interval should be computed * @param bandwidthInterval a two-element array {left, right} such that:
* (left==0 or xval[i] - xval[left-1] > xval[right] - xval[i]) @@ -409,7 +409,7 @@ public class LoessInterpolator * Returns the smallest index j such that j > i && (j==weights.length || weights[j] != 0) * @param weights weights array * @param i the index from which to start search; must be < weights.length - * @return the smallest index j such that j > i && (j==weights.length || weights[j] != 0) + * @return the smallest index j such that j > i && (j==weights.length || weights[j] != 0) */ private static int nextNonzero(final double[] weights, final int i) { int j = i + 1;