From 7498127e485a472fa0757173df40e2bb2d38ae2b Mon Sep 17 00:00:00 2001 From: Lafrite Date: Mon, 22 Dec 2014 14:17:12 +0100 Subject: [PATCH] indent error in expression --- pymath/expression.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pymath/expression.py b/pymath/expression.py index d2019a8..150a4bb 100644 --- a/pymath/expression.py +++ b/pymath/expression.py @@ -121,15 +121,15 @@ class Expression(object): old_s = new_s yield new_s - try: - for s in self.child.simplify(): - if old_s != s: - yield s - if not Expression.isExpression(self.child): - yield self.STR_RENDER([self.child]) + try: + for s in self.child.simplify(): + if old_s != s: + yield s + if not Expression.isExpression(self.child): + yield self.STR_RENDER([self.child]) - except AttributeError: - yield self.STR_RENDER([self.child]) + except AttributeError: + yield self.STR_RENDER([self.child]) def simplified(self): """ Get the simplified version of the expression """