[ https://issues.apache.org/jira/browse/SYSTEMML-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995483#comment-15995483 ]
Mike Dusenberry commented on SYSTEMML-1575: ------------------------------------------- Fix submitted in [PR 468 | https://github.com/apache/incubator-systemml/pull/468]. > DataType Change Test Failure > ---------------------------- > > Key: SYSTEMML-1575 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1575 > Project: SystemML > Issue Type: Bug > Reporter: Mike Dusenberry > Assignee: Mike Dusenberry > > While working on SYSTEMML-1554, an additional bug was uncovered. > Specifically, with the IPA scalar replacement enhancement, the > {{org.apache.sysml.test.integration.functions.misc.DataTypeChangeTest#testDataTypeChangeValidate4c}} > test has started to fail. Looking into it, it fails due to trying to cast a > Matrix to a Scalar object. At a deeper level, it looks like the propagated > variable map is holding onto the "matrix" `X`, rather than dropping it as it > should, since X is turned into a scalar by the call `X = foo(X)`. > Interestingly, the FunctionOp for the `foo` function is marked as having an > `Unknown` datatype and valuetype. Overall, this seems like a bug that was > just hidden before, rather than being newly introduced. -- This message was sent by Atlassian JIRA (v6.3.15#6346)