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

Incorrect nnz after rand of large dense block

    XMLWordPrintableJSON

Details

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

    Description

      The following code gives correctly 2.0E9 with with N=20000000 but consistently 2.4970522E9 with N=25000000 independent of the runtime seed.

      X = rand(rows=N, cols=100)
      if(sum(X)==0)
        X[7,] = matrix(0, 1, 100)
      print(sum(X!=0));
      

      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: