Skip to content
Snippets Groups Projects
Commit 257a470f authored by Sander Snoo's avatar Sander Snoo
Browse files

Fixed bug in lazy reset time

parent a2e48465
No related branches found
No related tags found
No related merge requests found
......@@ -80,6 +80,8 @@ class segment_base():
if self.is_slice or time is None:
self._reset_time(time)
else:
if self._pending_reset_time is not None:
time = np.fmax(time, self._pending_reset_time)
self._pending_reset_time = time
def _lazy_reset_time(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment