Skip to content

Commit

Permalink
Correction to previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hwikle-lanl committed Jun 19, 2024
1 parent bb27f6a commit f579d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pavilion/schedulers/advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,11 @@ def _get_chunks(self, node_list_id, sched_config) -> List[NodeSet]:
for node in include_nodes:
if node in nodes:
nodes.remove(node)
chunk_size = chunk_size - len(include_nodes)

if len(nodes) == chunk_size:
chunks = include_nodes
else:
chunk_size = chunk_size - len(include_nodes)
chunks = []

for i in range(len(nodes)//chunk_size):
Expand Down

0 comments on commit f579d10

Please sign in to comment.