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

TMSS-2809: typo

parent d60eef1f
No related branches found
No related tags found
1 merge request!1176TMSS-2809
......@@ -761,8 +761,8 @@ class Scheduler:
if rescored_unit:
lower_scoring_units = [ssu for ssu in scored_scheduling_units if ssu.weighted_score < rescored_unit.weighted_score]
for blocking_placed_unit in lower_scoring_units:
blocking_placed_unit.placed = False
blocking_placed_unit.save()
blocking_placed_unit.scheduling_unit.placed = False
blocking_placed_unit.scheduling_unit.save()
# we tried to make room for our candidate
# place it if no more blocking other units, else just assign the new starttime
......
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