Changing v0.4.1 to v0.5.0 considering the number of changes.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adsooi 2023-10-09 20:29:21 +02:00
parent 038dd9f4a8
commit 2b5d442d3a
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
6 changed files with 5 additions and 6 deletions

View file

@ -17,7 +17,7 @@
"""
from shutil import which
__VERSION__ = "0.4.1"
__VERSION__ = "0.5.0"
is_release = False

View file

@ -68,7 +68,6 @@ class Expression {
simplify(x) {
var expr = this.calc.substitute('x', x).simplify()
print(this.expr, this.calc.substitute('x', x), expr)
if(expr.evaluate() == 0) return '0'
var str = Utils.makeExpressionReadable(expr.toString());
if(str != undefined && str.match(/^\d*\.\d+$/)) {