Dan Filimon created MAHOUT-1116:
-----------------------------------

             Summary: WeightedVectors do not implement equals()
                 Key: MAHOUT-1116
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1116
             Project: Mahout
          Issue Type: Bug
          Components: Math
    Affects Versions: 1.0
            Reporter: Dan Filimon
            Priority: Minor


WeightedVectors [1] implement compareTo but not equals so in cases where just 
the weights or the indices differ, despire compareTo returning 0, equals 
returns false.

[1] 
https://github.com/apache/mahout/blob/trunk/math/src/main/java/org/apache/mahout/math/WeightedVector.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to