[
https://issues.apache.org/jira/browse/MAHOUT-1259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681876#comment-13681876
]
Suneel Marthi commented on MAHOUT-1259:
---------------------------------------
Have you verified your patch, seems like your patch presently prints a '}' now
for empty vectors. Please also attach a test case with the patch.
> toString() method of SequentialAccessSparseVector has closing brace missing
> for empty vector
> --------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1259
> URL: https://issues.apache.org/jira/browse/MAHOUT-1259
> Project: Mahout
> Issue Type: Bug
> Components: Math
> Affects Versions: 1.0
> Reporter: Abhinav M Kulkarni
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: MAHOUT-1259.patch
>
>
> toString() method of SequentialAccessSparseVector.java in Math module did not
> have closing brace for empty vectors. If the sparse vector is empty (or newly
> created), toString() method should return '{}'. Currently it returns '{'.
--
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