[ 
https://issues.apache.org/jira/browse/MAHOUT-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499111#comment-13499111
 ] 

Hudson commented on MAHOUT-1116:
--------------------------------

Integrated in Mahout-Quality #1748 (See 
[https://builds.apache.org/job/Mahout-Quality/1748/])
    MAHOUT-1116 move WeightedVector comparison to separate class for better 
consistency with equals (Revision 1410518)

     Result = SUCCESS
srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1410518
Files : 
* /mahout/trunk/math/src/main/java/org/apache/mahout/math/WeightedVector.java
* 
/mahout/trunk/math/src/main/java/org/apache/mahout/math/WeightedVectorComparator.java
* 
/mahout/trunk/math/src/test/java/org/apache/mahout/math/WeightedVectorTest.java

                
> 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
>            Assignee: Sean Owen
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.8
>
>         Attachments: MAHOUT-1116.patch, WeightedVector_MAHOUT_1116.patch, 
> WeightedVector_MAHOUT_1116.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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