Add compute_exp in simplified
This commit is contained in:
@@ -110,6 +110,7 @@ class Expression(object):
|
|||||||
|
|
||||||
def simplified(self):
|
def simplified(self):
|
||||||
""" Get the simplified version of the expression """
|
""" Get the simplified version of the expression """
|
||||||
|
self.compute_exp()
|
||||||
try:
|
try:
|
||||||
return self.child.simplified()
|
return self.child.simplified()
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
|||||||
Reference in New Issue
Block a user