upgrade to new lens version

This commit is contained in:
Marcell Vazquez-Chanlatte 2017-10-15 00:59:58 -07:00
parent 212a8c195a
commit d78037816b
5 changed files with 86 additions and 61 deletions

View file

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