mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Desnoyer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAHOUT-159) SparseVector and DenseVector hashCode does not conform to the Java standard
Date Tue, 18 Aug 2009 17:24:14 GMT

     [ https://issues.apache.org/jira/browse/MAHOUT-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Desnoyer updated MAHOUT-159:
---------------------------------

    Attachment: MAHOUT-159.patch

Bah. Sorry about that. I had a fix for that test but it didn't get into the diff for some
reason and I didn't check it.

> SparseVector and DenseVector hashCode does not conform to the Java standard
> ---------------------------------------------------------------------------
>
>                 Key: MAHOUT-159
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-159
>             Project: Mahout
>          Issue Type: Bug
>          Components: Matrix
>    Affects Versions: 0.2
>            Reporter: Mark Desnoyer
>            Assignee: Grant Ingersoll
>            Priority: Critical
>         Attachments: MAHOUT-159.patch, MAHOUT-159.patch, MAHOUT-159.patch, MAHOUT-159.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The hash codes for SparseVector and DenseVector will not be equal even though equals()
may return true. Also, the equals logic is inconsistent because DenseVector takes into account
the name parameter but SparseVector does not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message