phew
September 19, 2019, 2:16pm
1
Hello!
The Python code to download contains the line
__rsub__=__sub__
This is wrong, since a - b != b - a. This is what happens with this line:
print(1 - E0)
-1 + 1e0
This is quite a serious problem which cost me quite some time, please fix it!
Cheers
1 Like
Hi, I’m not the maintainer of that library, but I recommend you open this as an issue on their github repository. Bug reports should generally go on github.
utensil
September 21, 2019, 8:17am
3
Reproduced and reported as https://github.com/enkimute/ganja.js/issues/53 , working on a fix .
utensil
September 21, 2019, 8:57am
4
enki
September 23, 2019, 12:57pm
5
Thanks Phew,
Who could’ve guessed subtraction doesn’t commute ! - bug fixed, github and downloads on bivector.net are updated.
Cheers !