From 1f86b234ea08e3761d431e90d4b6f6bc4ad78337 Mon Sep 17 00:00:00 2001 From: Lafrite Date: Tue, 23 Dec 2014 10:07:36 +0100 Subject: [PATCH] change str to self.STR_RENDER in Expression.simplify --- pymath/expression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymath/expression.py b/pymath/expression.py index fd38bd4..b5cef2f 100644 --- a/pymath/expression.py +++ b/pymath/expression.py @@ -133,7 +133,7 @@ class Expression(object): if new_s != old_s: old_s = new_s yield new_s - if old_s != str(self.child): + if old_s != self.STR_RENDER([self.child]): yield self.STR_RENDER([self.child])