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

Incorrect nnz after rand of large dense block

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: SystemML 1.2
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: