Skip to content

Commit

Permalink
#501: correct variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly committed Feb 22, 2024
1 parent 5d206f8 commit 51c3d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lbaf/Execution/lbsWorkStealingAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def respond_to_steal_request(self, steal_request: StealRequest):
# If back of queue is a list (i.e. a cluster), allow steal
if isinstance(self.rank_queues[r_rcv.get_id()][-1], list):
cluster = self.rank_queues[r_rcv.get_id()].pop()
self.rank_queues[r_snd.get_id()].append(item)
self.rank_queues[r_snd.get_id()].append(cluster)

def has_work(self, rank):
"""Determines if a given rank has an object, cluster, or StealRequest in its deque."""
Expand Down

0 comments on commit 51c3d10

Please sign in to comment.