incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r691175 - /incubator/hama/trunk/src/java/org/apache/hama/DenseVector.java
Date Tue, 02 Sep 2008 09:35:14 GMT
Author: edwardyoon
Date: Tue Sep  2 02:35:14 2008
New Revision: 691175

URL: http://svn.apache.org/viewvc?rev=691175&view=rev
Log: (empty)

Modified:
    incubator/hama/trunk/src/java/org/apache/hama/DenseVector.java

Modified: incubator/hama/trunk/src/java/org/apache/hama/DenseVector.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/DenseVector.java?rev=691175&r1=691174&r2=691175&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/DenseVector.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/DenseVector.java Tue Sep  2 02:35:14 2008
@@ -154,7 +154,7 @@
     Iterator<byte[]> it = keySet.iterator();
 
     while (it.hasNext()) {
-      sum += Numeric.bytesToDouble(get(it.next()).getValue());
+      sum += Numeric.bytesToDouble(this.get(it.next()).getValue());
     }
 
     return sum;
@@ -167,7 +167,7 @@
     Iterator<byte[]> it = keySet.iterator();
 
     while (it.hasNext()) {
-      double value = Numeric.bytesToDouble(get(it.next()).getValue());
+      double value = Numeric.bytesToDouble(this.get(it.next()).getValue());
       square_sum += value * value;
     }
 



Mime
View raw message