You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Guohua Hao (JIRA)" <ji...@apache.org> on 2015/02/19 18:49:12 UTC

[jira] [Created] (MAHOUT-1642) Iterator class within SimilarItems class always misses the first element

Guohua Hao created MAHOUT-1642:
----------------------------------

             Summary: Iterator class within SimilarItems class always misses the first element
                 Key: MAHOUT-1642
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1642
             Project: Mahout
          Issue Type: Bug
          Components: Collaborative Filtering
            Reporter: Guohua Hao


In the next() function of SimilarItemsIterator class within SimilarItems class, variable 'index' is incremented before returning the actual element at that position, therefore the first element when iterating will always be missed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)