Skip to content

Commit

Permalink
[SPARK-3418] Fixed failing Matrix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
brkyvz committed Sep 6, 2014
1 parent 8dcb763 commit 41b2da3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ class MatricesSuite extends FunSuite {
val sparseMat = new SparseMatrix(m, n, colIndices, rowIndices, sparseValues)

assert(sparseMat(0, 1) == 3.0)
assert(sparseMat(0, 1) == denseMat.values(2))
assert(sparseMat(0, 1) == denseMat(2))
assert(sparseMat(0, 1) == sparseMat.values(2))
assert(sparseMat(0, 1) == sparseMat(2))
assert(sparseMat(0, 0) == 0.0)

intercept[IllegalArgumentException] {
Expand Down

0 comments on commit 41b2da3

Please sign in to comment.