[ https://issues.apache.org/jira/browse/SYSTEMML-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niketan Pansare resolved SYSTEMML-1081. --------------------------------------- Resolution: Fixed Fix Version/s: SystemML 1.0 Thanks Matthias for the fix. Fixed in the commit: https://github.com/apache/incubator-systemml/commit/638eabe8b33b02e333d8e5471c43e4c4df2c0818 > 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 > Assignee: Matthias Boehm > Fix For: SystemML 1.0 > > > 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)