labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r1426740 - /labs/alike/trunk/src/java/org/apache/alike/FindOptimalCluster.java
Date Sat, 29 Dec 2012 10:45:09 GMT
Author: koji
Date: Sat Dec 29 10:45:08 2012
New Revision: 1426740

URL: http://svn.apache.org/viewvc?rev=1426740&view=rev
Log:
fix wrong substitution

Modified:
    labs/alike/trunk/src/java/org/apache/alike/FindOptimalCluster.java

Modified: labs/alike/trunk/src/java/org/apache/alike/FindOptimalCluster.java
URL: http://svn.apache.org/viewvc/labs/alike/trunk/src/java/org/apache/alike/FindOptimalCluster.java?rev=1426740&r1=1426739&r2=1426740&view=diff
==============================================================================
--- labs/alike/trunk/src/java/org/apache/alike/FindOptimalCluster.java (original)
+++ labs/alike/trunk/src/java/org/apache/alike/FindOptimalCluster.java Sat Dec 29 10:45:08
2012
@@ -61,7 +61,7 @@ public class FindOptimalCluster {
       double me = executor.getMeanError();
       System.out.printf("%s : %f\n", dumpFile, me);
       if(me < minError){
-        me = minError;
+        minError = me;
         optimalClusterDumpFile = dumpFile;
       }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message