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 2012/07/14 22:19:33 UTC

[jira] [Resolved] (MAHOUT-1046) Views of matrix views are created incorrectly.

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

Ted Dunning resolved MAHOUT-1046.
---------------------------------

    Resolution: Fixed

I committed a simple test and fix for this.
                
> Views of matrix views are created incorrectly.
> ----------------------------------------------
>
>                 Key: MAHOUT-1046
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1046
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>    Affects Versions: 0.7
>            Reporter: Ted Dunning
>            Priority: Blocker
>             Fix For: 0.8
>
>
> There are two issues, one benign and one huge.  The benign issue is that all references in MatrixView.viewPart to the constant 0 got incorrectly replaced by ROW.
> The big issue is that origin.clone() is used instead of this.origin.clone().  This causes double incrementing and an index error for some args.  I have added a test and will commit shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira