Integrate attr libraries

This commit is contained in:
Marcell Vazquez-Chanlatte 2018-09-17 22:43:21 -07:00
parent fb2e79b807
commit 472fd45ce2
9 changed files with 200 additions and 265 deletions

View file

@ -10,7 +10,7 @@ oo = float('inf')
def get_times(x, tau, lo, hi):
end = min(v.domain.end() for v in x.values())
end = min(v.last_key() for v in x.values())
lo, hi = map(float, (lo, hi))
hi = hi + tau if hi + tau <= end else end