You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Glenn Weidner (JIRA)" <ji...@apache.org> on 2017/03/02 01:45:45 UTC

[jira] [Updated] (SYSTEMML-292) PyDML boolean prints in all uppercase

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

Glenn Weidner updated SYSTEMML-292:
-----------------------------------
    Fix Version/s:     (was: SystemML 1.0)
                   SystemML 0.12

> PyDML boolean prints in all uppercase
> -------------------------------------
>
>                 Key: SYSTEMML-292
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-292
>             Project: SystemML
>          Issue Type: Improvement
>            Reporter: Deron Eriksson
>            Assignee: Deron Eriksson
>            Priority: Minor
>             Fix For: SystemML 0.12
>
>
> In PyDML, a boolean value is specified as True/False whereas in DML a boolean is specified as TRUE/FALSE. However, when we print the boolean value, both PyDML and DML output the boolean value as TRUE/FALSE (all uppercase). This is confusing with PyDML because the output case (TRUE/FALSE) does not match the input case (True/False).
> Examples:
> In DML, we have the following:
> {code}
> b = TRUE
> print(b)
> {code}
> This outputs:
> {code}
> TRUE
> {code}
> In PyDML, we have the following:
> {code}
> b = True
> print(b)
> {code}
> This outputs:
> {code}
> TRUE
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)