[ https://issues.apache.org/jira/browse/SYSTEMML-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15634479#comment-15634479 ]
Niketan Pansare commented on SYSTEMML-1081: ------------------------------------------- Commenting out "_dagRuleSet.add( new RewriteIndexingVectorization() )" and/or setting ALLOW_AUTO_VECTORIZATION to false doesnot resolve the issue :( > 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)