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 50abef3 commit a6952c3Copy full SHA for a6952c3
mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala
@@ -460,7 +460,7 @@ class SparseVector(
460
while (k2 < v.values.size && v.values(k2) == 0) k2 += 1
461
462
if (k1 == this.values.size || k2 == v.values.size) {
463
- return (k1 == this.values.size && k2 == v.values.size) //check end alignment
+ return (k1 == this.values.size && k2 == v.values.size) // check end alignment
464
}
465
if (this.indices(k1) != v.indices(k2) || this.values(k1) != v.values(k2)) {
466
return false
0 commit comments