diff --git a/b_asic/schedule.py b/b_asic/schedule.py index 73659fe6b2241a3ec8a9a6190301d7a44bd18112..eb3528a72f3d416d369a005b73d4c7ba3d92d05f 100644 --- a/b_asic/schedule.py +++ b/b_asic/schedule.py @@ -126,7 +126,7 @@ class Schedule: raise NotImplementedError def set_schedule_time(self, time: int) -> "Schedule": - assert self._get_max_end_time() < time, "New schedule time to short." + assert self._get_max_end_time() <= time, "New schedule time to short." self._schedule_time = time return self