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:
parent
9ac9921796
commit
97b54ad87f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue