Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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));