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

Missing indexing hop size reset on negative reconcile after loops

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • SystemML 1.2
    • None
    • None

    Description

      The below script incorrectly returns 100 instead of 98. Although the difference is detected during reconciliation after size propagation through the loop, the indexing hop current does not allow for size reset and thus the correction pass is ineffective here.

      X = rand(rows=100, cols=1);
      Y = X
      # two loop iterationn -> nrow(X)=98
      for( i in seq(1,2,1) ) {
         n1 = nrow(Y) + 0.0;
         Y = Y[2:n1,] - Y[1:n1-1,];
      }
      print(nrow(Y));
      

      Attachments

        Activity

          People

            mboehm7 Matthias Boehm
            mboehm7 Matthias Boehm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: