Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-3370

Incorrect output length for list of lists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • SystemDS 3.0
    • None
    • None

    Description

      DML does not handle the list of lists correctly. Once multiple lists are added to a list object the nested list become immutable and thus could not be modified (append/index).

      please refer to following lines of codes.

      l1 = list(1, 2, 3)
      l2 = list(4, 5, 6)

      l3 = list()
      l3 = append(l3, l1)
      l3 = append(l3, l2)

      l4 = l3[1]
      l4 = append(l4, 12)
      print(toString(l4))
      print(length(l4))

      Attachments

        Activity

          People

            mboehm7 Matthias Boehm
            ssiddiqi Shafaq Siddiqi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: