From d9125dba873cb0abcafd47b3570546d17848c6c8 Mon Sep 17 00:00:00 2001 From: Sukrit Kalra Date: Thu, 11 Apr 2024 20:18:05 -0700 Subject: [PATCH] Fix formatting issue. --- schedulers/tetrisched_scheduler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/schedulers/tetrisched_scheduler.py b/schedulers/tetrisched_scheduler.py index 43bc100d..cec04bc9 100644 --- a/schedulers/tetrisched_scheduler.py +++ b/schedulers/tetrisched_scheduler.py @@ -1277,7 +1277,9 @@ def construct_task_strl( # choice of this Task, and collate them under a MaxExpression. task_choose_expressions = [] choice_placement_times_and_rewards = [] - for placement_time, reward_for_this_placement in sorted(time_discretizations): + for placement_time, reward_for_this_placement in sorted( + time_discretizations + ): if placement_time < current_time: # If the placement time is in the past, then we cannot # place the task.