commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1003533 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java
Date Fri, 01 Oct 2010 13:35:49 GMT
Author: sebb
Date: Fri Oct  1 13:35:49 2010
New Revision: 1003533

URL: http://svn.apache.org/viewvc?rev=1003533&view=rev
Log:
Unnecessary cast

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java?rev=1003533&r1=1003532&r2=1003533&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/regression/MultipleLinearRegressionAbstractTest.java
Fri Oct  1 13:35:49 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();



Mime
View raw message