Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1642

Iterator class within SimilarItems class always misses the first element

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.11.1
    • None

    Description

      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.

      Attachments

        Activity

          People

            smarthi Suneel Marthi
            haoguohua Guohua Hao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: