removed Java 6 specific method

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1148709 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2011-07-20 11:35:48 +00:00
parent 9ac9921796
commit 97b54ad87f
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public class MillerUpdatingRegression implements UpdatingMultipleLinearRegressio
throw new IllegalArgumentException("Length of regressor list is less that numberOfVariables");
}
if (!this.hasIntercept) {
include(Arrays.copyOf(x, x.length), 1.0, y);
include(MathUtils.copyOf(x, x.length), 1.0, y);
} else {
double[] tmp = new double[x.length + 1];
System.arraycopy(x, 0, tmp, 1, x.length);