Skip to content

Commit 4595165

Browse files
committed
[SPARK-5726] [MLLIB] Remove erroneous test case.
1 parent ded3ac6 commit 4595165

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mllib/src/test/scala/org/apache/spark/mllib/feature/ElementwiseProductSuite.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ class ElementwiseProductSuite extends FunSuite with MLlibTestSparkContext {
6161
}, "The vector type should be preserved after hadamard product")
6262

6363
assert((data2, data2RDD.collect()).zipped.forall((v1, v2) => v1 ~== v2 absTol 1E-5))
64-
assert(data2(0) ~== Vectors.sparse(3, Seq((0, -2.0), (1, 0.0))) absTol 1E-5)
65-
assert(data2(1) ~== Vectors.sparse(3, Seq((1, 0.0), (2, -1.5))) absTol 1E-5)
64+
assert(data2(0) ~== Vectors.sparse(3, Seq((1, 0.0), (2, -1.5))) absTol 1E-5)
6665
}
6766
}

0 commit comments

Comments
 (0)