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

Pallavi Palleti updated MAHOUT-67:
----------------------------------

    Attachment: MAHOUT-67.patch

I have overridden plus() method in SparseVector. Inorder to do this, I need to 
add a method called addCardinality().
Also, I found that in dot() method, it shouldn't throw cardinalityException. 
So, I removed that condition. Please review the code.

Thanks
Pallavi

> plus method in AbstractVector doesn't work for SparseVectors
> ------------------------------------------------------------
>
>                 Key: MAHOUT-67
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-67
>             Project: Mahout
>          Issue Type: Bug
>          Components: Matrix
>            Reporter: Pallavi Palleti
>            Priority: Minor
>         Attachments: MAHOUT-67.patch
>
>


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

Reply via email to