This commit is contained in:
marcell 2019-02-12 01:01:13 +00:00
parent 14e215a8b2
commit 935f7b466c

View file

@ -59,7 +59,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 not quantitative else [(t, v > 0 for t, v in res)] return res if not quantitative else [((t, v > 0) for t, v in res)]
res = interp(f(sig), t, phi) res = interp(f(sig), t, phi)
return res if quantitative else res > 0 return res if quantitative else res > 0