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

Appending matrix to a list not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • SystemDS 2.1
    • None
    • None
    • Ubuntu 20.04, latest systemds version (github master branch)

    Description

      Trying to append a matrix to a list, e.g.:

      mat = matrix("1 2 3 6
                    4 3 2 5
                    1 1 2 4", rows=3, cols=4)
                    
      my_list = list()
      my_list = append(my_list, mat)
      

      seems not to work, and raises an error message.

      An Error Occured : LanguageException -- Invalid Parameters : ERROR: test2.dml [line 6:0] -> my_list = append(my_list, mat) -- inputs to cbind must have same number of rows: input 1 rows: 0, input 2 rows: 3
      

       

      cc mboehm7

      Attachments

        Activity

          People

            mboehm7 Matthias Boehm
            kpretterhofer Kevin Pretterhofer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: