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

toString() method of SequentialAccessSparseVector has closing brace missing for empty vector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.8
    • 0.8
    • classic

    Description

      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 '{'.

      Attachments

        1. MAHOUT-1259.patch
          0.6 kB
          Abhinav M Kulkarni

        Activity

          People

            robinanil Robin Anil
            abhinavkulkarni Abhinav M Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: