make ast objects easier to work with

This commit is contained in:
Marcell Vazquez-Chanlatte 2017-10-31 18:29:31 -07:00
parent 2640728288
commit 7d8cf78222
5 changed files with 131 additions and 128 deletions

View file

@ -13,7 +13,7 @@ oo = float('inf')
def pointwise_sat(phi):
ap_names = [z.id.name for z in stl.utils.AP_lens(phi).Each().collect()]
ap_names = [z.id.name for z in stl.ast.AP_lens(phi).Each().collect()]
def _eval_stl(x, t):
evaluated = stl.utils.eval_lineqs(phi, x)