[ 
https://issues.apache.org/jira/browse/SYSTEMML-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15427074#comment-15427074
 ] 

Deron Eriksson commented on SYSTEMML-295:
-----------------------------------------

The prints in SystemML are not necessarily synchronous with the ordering of the 
prints in the DML/PyDML script. It would be nice to be able to have print in 
the order they appear in the script.

> Unexpected order when print !boolean
> ------------------------------------
>
>                 Key: SYSTEMML-295
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-295
>             Project: SystemML
>          Issue Type: Improvement
>          Components: APIs, Runtime
>            Reporter: Deron Eriksson
>            Priority: Minor
>
> If I print the 'not' of a boolean value using print(''+!booleanValue), the 
> resulting output to the console happens later than would be expected. For 
> example, consider the following DML:
> {code}
> b = TRUE
> print(b)
> print(''+b)
> print('hello')
> print(b)
> print(''+!b)
> print('goodbye')
> {code}
> This outputs the following:
> {code}
> TRUE
> TRUE
> hello
> TRUE
> goodbye
> FALSE
> {code}
> I would expect the following:
> {code}
> TRUE
> TRUE
> hello
> TRUE
> FALSE
> goodbye
> {code}
> This also happens for PyDML.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to