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)

Reply via email to