You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Deron Eriksson (JIRA)" <ji...@apache.org> on 2016/12/09 21:48:58 UTC
[jira] [Resolved] (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 ]
Deron Eriksson resolved SYSTEMML-292.
-------------------------------------
Resolution: Fixed
Fix Version/s: SystemML 1.0
Fixed by [PR312|https://github.com/apache/incubator-systemml/pull/312].
> 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 1.0
>
>
> 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.4#6332)