Fix bug in quantitative.

This commit is contained in:
Marcell Vazquez-Chanlatte 2020-04-06 10:05:07 -07:00
parent f7d8126da7
commit 065c93cb2e

View file

@ -63,7 +63,7 @@ def pointwise_sat(phi, dt=0.1):
if t is None: if t is None:
res = [(t, v[phi]) for t, v in f(sig).items()] res = [(t, v[phi]) for t, v in f(sig).items()]
return res if quantitative else [((t, v > 0) for t, v in res)] return res if quantitative else [(t, v > 0) for t, v in res]
if t is False: if t is False:
t = f(sig).items()[0][0] t = f(sig).items()[0][0]