We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c3637f commit 63c7165Copy full SHA for 63c7165
mllib/src/test/scala/org/apache/spark/mllib/linalg/VectorsSuite.scala
@@ -218,7 +218,7 @@ class VectorsSuite extends FunSuite {
218
219
assert(Vectors.norm(dv, 3.7) ~== math.pow(dv.toArray.foldLeft(0.0)((a, v) =>
220
a + math.pow(math.abs(v), 3.7)), 1.0 / 3.7) relTol 1E-8)
221
- assert(Vectors.norm(sv, 3.7) ~== math.pow(dv.toArray.foldLeft(0.0)((a, v) =>
+ assert(Vectors.norm(sv, 3.7) ~== math.pow(sv.toArray.foldLeft(0.0)((a, v) =>
222
223
}
224
0 commit comments