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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.8
    • Component/s: Math
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: