Derrick Burns created SPARK-5186:
------------------------------------

             Summary: Vector.equals is broken
                 Key: SPARK-5186
                 URL: https://issues.apache.org/jira/browse/SPARK-5186
             Project: Spark
          Issue Type: Bug
          Components: MLlib
    Affects Versions: 1.2.0
            Reporter: Derrick Burns


The implementation of Vector.equals (and Vector.hashCode) is only correct for 
DenseVectors.   SparseVectors with different indices but the same values not 
equal, but the indices are not considered in equals and hashCode.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to