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

SparceMatrix.clone() is not deep copy

    XMLWordPrintableJSON

    Details

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

      Description

      After changing the matrix created by clone(), the original matrix changes as well. I am attaching a patch with the unit test.

        Attachments

        1. MAHOUT-1230.patch
          0.8 kB
          Maysam Yabandeh
        2. MAHOUT-1230.patch
          5 kB
          Ted Dunning
        3. MAHOUT-1230.patch
          6 kB
          Maysam Yabandeh

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maysamyabandeh Maysam Yabandeh
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: