Skip to content
Snippets Groups Projects
Commit 3a3d8d3b authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Minor cleanup

parent d0b7c72f
No related branches found
No related tags found
1 merge request!257Minor cleanup
Pipeline #92683 passed
...@@ -889,9 +889,7 @@ class ProcessCollection: ...@@ -889,9 +889,7 @@ class ProcessCollection:
for process, cell in coloring.items(): for process, cell in coloring.items():
if cell not in cell_assignment: if cell not in cell_assignment:
cell_assignment[cell] = ProcessCollection(set(), self._schedule_time) cell_assignment[cell] = ProcessCollection(set(), self._schedule_time)
cell_assignment[cell].add_process(process) cell_assignment[cell].add_process(process)
else:
cell_assignment[cell].add_process(process)
return set(cell_assignment.values()) return set(cell_assignment.values())
def left_edge_cell_assignment(self) -> Dict[int, "ProcessCollection"]: def left_edge_cell_assignment(self) -> Dict[int, "ProcessCollection"]:
......
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