syncing builds start moving to hypothesis

This commit is contained in:
Marcell Vazquez-Chanlatte 2017-09-25 23:05:18 -07:00
parent f04f1b3eeb
commit c7e16566a0
12 changed files with 121 additions and 37 deletions

View file

@ -86,7 +86,7 @@ def param_lens(phi:STL) -> Lens:
def set_params(stl_or_lens, val) -> STL:
l = stl_or_lens if isinstance(stl_or_lens, Lens) else param_lens(stl_or_lens)
return l.modify(lambda x: val.get(x, val.get(str(x), x)))
return l.modify(lambda x: float(val.get(x, val.get(str(x), x))))
def f_neg_or_canonical_form(phi:STL) -> STL: