You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2010/10/02 23:53:24 UTC
svn commit: r1003896 - in /commons/proper/math/branches/MATH_2_X: ./
src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java
Author: luc
Date: Sat Oct 2 21:53:24 2010
New Revision: 1003896
URL: http://svn.apache.org/viewvc?rev=1003896&view=rev
Log:
backported r1003533 from trunk to branch 2.X
Unnecessary cast
Modified:
commons/proper/math/branches/MATH_2_X/ (props changed)
commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java
Propchange: commons/proper/math/branches/MATH_2_X/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat Oct 2 21:53:24 2010
@@ -1 +1 @@
-/commons/proper/math/trunk:1003346,1003348-1003351,1003526
+/commons/proper/math/trunk:1003346,1003348-1003351,1003526,1003533
Modified: commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java?rev=1003896&r1=1003895&r2=1003896&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java (original)
+++ commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java Sat Oct 2 21:53:24 2010
@@ -85,7 +85,7 @@ public abstract class MultipleLinearRegr
{25, 35, 45},
{27, 37, 47}
};
- AbstractMultipleLinearRegression regression = (AbstractMultipleLinearRegression) createRegression();
+ AbstractMultipleLinearRegression regression = createRegression();
regression.newSampleData(design, 4, 3);
RealMatrix flatX = regression.X.copy();
RealVector flatY = regression.Y.copy();