[
https://issues.apache.org/jira/browse/SYSTEMML-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15634423#comment-15634423
]
Matthias Boehm commented on SYSTEMML-1081:
------------------------------------------
this is most likely an issue of our RewriteIndexingVectorization - please
disable this rewrite in ProgramWriter and see if the issue still shows up. I
think (but did not test it) that PR 281 simply does not propagate any size
information and hence only hides the issue by rendering this rewrite
inapplicable.
> 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)