Fix: Fix encaspulate Expression._tree when init with random
This commit is contained in:
parent
91efea28cd
commit
ca7e6b2ecb
@ -109,12 +109,11 @@ class Expression(object):
|
||||
)
|
||||
computed = compute_leafs(leafs, generated)
|
||||
t = replace_rdleaf(rd_t, computed).map_on_leaf(moify)
|
||||
t = cls._post_precessing(t)
|
||||
|
||||
if shuffle:
|
||||
raise NotImplemented("Can't suffle expression yet")
|
||||
|
||||
return cls(t)
|
||||
return cls._post_precessing(t)
|
||||
|
||||
@classmethod
|
||||
def _post_precessing(cls, t):
|
||||
|
Loading…
Reference in New Issue
Block a user