You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2014/01/22 23:02:27 UTC

[44/50] git commit: prettify

prettify


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/c9b4845b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/c9b4845b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/c9b4845b

Branch: refs/heads/master
Commit: c9b4845bc120b8b63d5e033dd1d506d84c420b20
Parents: dbec69b
Author: Reza Zadeh <ri...@gmail.com>
Authored: Fri Jan 17 14:14:29 2014 -0800
Committer: Reza Zadeh <ri...@gmail.com>
Committed: Fri Jan 17 14:14:29 2014 -0800

----------------------------------------------------------------------
 .../src/test/scala/org/apache/spark/mllib/linalg/SVDSuite.scala  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/c9b4845b/mllib/src/test/scala/org/apache/spark/mllib/linalg/SVDSuite.scala
----------------------------------------------------------------------
diff --git a/mllib/src/test/scala/org/apache/spark/mllib/linalg/SVDSuite.scala b/mllib/src/test/scala/org/apache/spark/mllib/linalg/SVDSuite.scala
index 12b3801..32f3f14 100644
--- a/mllib/src/test/scala/org/apache/spark/mllib/linalg/SVDSuite.scala
+++ b/mllib/src/test/scala/org/apache/spark/mllib/linalg/SVDSuite.scala
@@ -45,7 +45,7 @@ class SVDSuite extends FunSuite with BeforeAndAfterAll {
   val EPSILON = 1e-4
 
   // Return jblas matrix from sparse matrix RDD
-  def getDenseMatrix(matrix:SparseMatrix) : DoubleMatrix = {
+  def getDenseMatrix(matrix: SparseMatrix) : DoubleMatrix = {
     val data = matrix.data
     val m = matrix.m
     val n = matrix.n
@@ -54,7 +54,7 @@ class SVDSuite extends FunSuite with BeforeAndAfterAll {
     ret
   }
 
-  def assertMatrixEquals(a:DoubleMatrix, b:DoubleMatrix) {
+  def assertMatrixEquals(a: DoubleMatrix, b: DoubleMatrix) {
     assert(a.rows == b.rows && a.columns == b.columns, "dimension mismatch")
     val diff = DoubleMatrix.zeros(a.rows, a.columns)
     Array.tabulate(a.rows, a.columns){(i, j) =>