You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2008/08/25 10:04:31 UTC

svn commit: r688647 - /incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java

Author: edwardyoon
Date: Mon Aug 25 01:04:30 2008
New Revision: 688647

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

Modified:
    incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java

Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java?rev=688647&r1=688646&r2=688647&view=diff
==============================================================================
--- incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java (original)
+++ incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java Mon Aug 25 01:04:30 2008
@@ -19,7 +19,6 @@
  */
 package org.apache.hama.examples;
 
-import org.apache.hama.DenseMatrix;
 import org.apache.hama.HamaConfiguration;
 import org.apache.hama.Matrix;
 
@@ -36,8 +35,8 @@
 
     HamaConfiguration conf = new HamaConfiguration();
 
-    Matrix a = DenseMatrix.random(conf, row, column);
-    Matrix b = DenseMatrix.random(conf, row, column);
+    Matrix a = Matrix.random(conf, row, column);
+    Matrix b = Matrix.random(conf, row, column);
 
     Matrix c = a.add(b);