Add compute_exp in simplified
This commit is contained in:
parent
1729ef1d24
commit
981c8db0e5
|
@ -110,6 +110,7 @@ class Expression(object):
|
|||
|
||||
def simplified(self):
|
||||
""" Get the simplified version of the expression """
|
||||
self.compute_exp()
|
||||
try:
|
||||
return self.child.simplified()
|
||||
except AttributeError:
|
||||
|
|
Loading…
Reference in New Issue