You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Ted Dunning (JIRA)" <ji...@apache.org> on 2013/09/12 10:19:51 UTC

[jira] [Commented] (MAHOUT-1331) Class AbstractVector.java index is an int, increase to long

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

Ted Dunning commented on MAHOUT-1331:
-------------------------------------

Max,

In the past, various folk have examined this problem and determined that it would be very difficult to support this uniformly across all vectors without prohibitive costs.

Do you have some suggestions how this might be done?

                
> Class AbstractVector.java index is an int, increase to long
> -----------------------------------------------------------
>
>                 Key: MAHOUT-1331
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1331
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.8
>            Reporter: Max Weule
>
> While using mahout the following problem appears: 
> org.apache.mahout.math.IndexException: Index -1469322379 is outside allowable range of [0,2147483647) at org.apache.mahout.math.AbstractVector.set(AbstractVector.java:395).
> We have indexes above 2147483647 and they are exceeding the limit of integers. Plz consider increasing index from int to long.

--
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