Niketan Pansare created SYSTEMML-1081:
-----------------------------------------
Summary: Incorrect dimensions after left indexing operation
Key: SYSTEMML-1081
URL: https://issues.apache.org/jira/browse/SYSTEMML-1081
Project: SystemML
Issue Type: Bug
Reporter: Niketan Pansare
To reproduce this bug, please try following DML script:
z = matrix (0, rows = 2, cols = 5);
z[2, 2] = 2.5;
z[2, 3] = 5.0;
z[2, 4] = 10.0;
n = ncol(z);
print ("ncol (z) = " + ncol (z) + ", but n = " + n);
This prints ncol (z) = 5, but n = 1.
This occurs due to the line:
https://github.com/apache/incubator-systemml/blob/master/src/main/java/org/apache/sysml/parser/StatementBlock.java#L694
[~reinwald] [~acs_s] [~mboehm7]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)