Skip to content
Snippets Groups Projects
Commit d24468cd authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

LSRT-16: fixed typo

parent 9c0340c6
No related branches found
No related tags found
No related merge requests found
......@@ -825,7 +825,7 @@ class Specification:
(start_time, duration, min_starttime, max_endtime))
# Calculate the effective dwelling time
max_duration = max_endtime - min_starttime
if duration > max_duration
if duration > max_duration:
raise ValueError('task duration %s is larger than max_duration %s from dwelling start/end time' % (duration, max_duration))
dwell_time = max_duration - duration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment