Bug in ../fastr/resources/datatypes/Boolean.py

7 views
Skip to first unread message

Marcel Zwiers

unread,
Apr 6, 2017, 6:52:51 AM4/6/17
to Fastr Users
It seems to me that there is a typo in the translation_table (at line 87), where the '1' is mapped to False instead of True:

        translation_table = {0: False, '0': False, 'false': False, '__fastr_flag__false__': False,
                             
1: True, '1': False, 'true': True, '__fastr_flag__true___': True}


Hakim Achterberg

unread,
Apr 6, 2017, 7:02:56 AM4/6/17
to Fastr Users
That is indeed an error I will fix this, thank you for reporting!
Reply all
Reply to author
Forward
0 new messages