Changing v0.4.1 to v0.5.0 considering the number of changes.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
038dd9f4a8
commit
2b5d442d3a
6 changed files with 5 additions and 6 deletions
|
@ -17,7 +17,7 @@
|
|||
"""
|
||||
from shutil import which
|
||||
|
||||
__VERSION__ = "0.4.1"
|
||||
__VERSION__ = "0.5.0"
|
||||
is_release = False
|
||||
|
||||
|
||||
|
|
|
@ -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+$/)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue