commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gr...@apache.org
Subject svn commit: r1175094 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/MillerUpdatingRegression.java
Date Sat, 24 Sep 2011 02:17:59 GMT
Author: gregs
Date: Sat Sep 24 02:17:58 2011
New Revision: 1175094

URL: http://svn.apache.org/viewvc?rev=1175094&view=rev
Log:
JIRA: MATH-607 small bug in vmove method, the 'break;' directive causes the loop to skip the
code block beginning if(!bSkip40...

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/MillerUpdatingRegression.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/MillerUpdatingRegression.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/MillerUpdatingRegression.java?rev=1175094&r1=1175093&r2=1175094&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/MillerUpdatingRegression.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/MillerUpdatingRegression.java
Sat Sep 24 02:17:58 2011
@@ -771,7 +771,7 @@ public class MillerUpdatingRegression im
                     rhs[m] = rhs[mp1];
                     rhs[mp1] = X;
                     bSkipTo40 = true;
-                    break;
+                    //break;
                 } else if (d2 < this.epsilon) {
                     d[m] = d1 * X * X;
                     r[m1] = 1.0 / X;
@@ -780,7 +780,7 @@ public class MillerUpdatingRegression im
                     }
                     rhs[m] = rhs[m] / X;
                     bSkipTo40 = true;
-                    break;
+                    //break;
                 }
                 if (!bSkipTo40) {
                     d1new = d2 + d1 * X * X;



Mime
View raw message