untimed until bug fixes

This commit is contained in:
Marcell Vazquez-Chanlatte 2017-04-24 23:31:56 -07:00
parent 8ec0013235
commit f04f1b3eeb
4 changed files with 11 additions and 6 deletions

View file

@ -126,7 +126,7 @@ class STLVisitor(NodeVisitor):
def visit_timed_until(self, _, children):
phi, _, _, (lo, hi), _, psi = children
return env(psi, lo=lo, hi=hi) & alw(ast.Until(phi, psi), lo=0, hi=hi)
return env(psi, lo=lo, hi=hi) & alw(ast.Until(phi, psi), lo=0, hi=lo)
def visit_id(self, name, _):
return Symbol(name.text)