[ 
https://issues.apache.org/jira/browse/SYSTEMML-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Boehm closed SYSTEMML-1175.
------------------------------------
       Resolution: Fixed
         Assignee: Matthias Boehm
    Fix Version/s: SystemML 1.1

> When toString() is passed a scalar, an undecipherable error message is 
> produced
> -------------------------------------------------------------------------------
>
>                 Key: SYSTEMML-1175
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1175
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Nakul Jindal
>            Assignee: Matthias Boehm
>            Priority: Major
>             Fix For: SystemML 1.1
>
>
> Here is a program to reproduce the error:
> {code}
> A = matrix(1, rows=3, cols=10)
> C = sum(A)
> print(toString(C))
> {code}
> The stacktrace produced is
> {code}
> ........
> Caused by: org.apache.sysml.runtime.DMLRuntimeException: Variable '30.0' does 
> not exist in the symbol table.
>       at 
> org.apache.sysml.runtime.controlprogram.context.ExecutionContext.getCacheableData(ExecutionContext.java:177)
>       at 
> org.apache.sysml.runtime.instructions.cp.ParameterizedBuiltinCPInstruction.processInstruction(ParameterizedBuiltinCPInstruction.java:325)
>       at 
> org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:290)
>       ... 6 more
> {code}
> The error message "Variable '30.0' does not exist in the symbol table." makes 
> no sense here.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to