fix timed until
This commit is contained in:
parent
31c3d3bead
commit
74f6efa314
2 changed files with 14 additions and 3 deletions
|
|
@ -125,7 +125,12 @@ def eval_mtl_g(phi, dt):
|
|||
return min(val[phi.arg])
|
||||
|
||||
def _eval(x):
|
||||
return f(x).rolling(a, b).map(_min, tag=phi)
|
||||
tmp = f(x)
|
||||
assert b >= a
|
||||
if b > a:
|
||||
return tmp.rolling(a, b).map(_min, tag=phi)
|
||||
|
||||
return tmp.retag({phi.arg: phi})
|
||||
|
||||
return _eval
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue