Mike Dusenberry created SYSTEMML-1575: -----------------------------------------
Summary: 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)