You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2018/06/28 05:24:00 UTC

[jira] [Created] (SYSTEMML-2427) Incorrect nnz after rand of large dense block

Matthias Boehm created SYSTEMML-2427:
----------------------------------------

             Summary: Incorrect nnz after rand of large dense block
                 Key: SYSTEMML-2427
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2427
             Project: SystemML
          Issue Type: Bug
            Reporter: Matthias Boehm


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

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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)