From 51c3d1007d44cc42f4c9d12db249c0a0355bb5de Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Thu, 22 Feb 2024 13:10:20 -0500 Subject: [PATCH] #501: correct variable name --- src/lbaf/Execution/lbsWorkStealingAlgorithm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lbaf/Execution/lbsWorkStealingAlgorithm.py b/src/lbaf/Execution/lbsWorkStealingAlgorithm.py index 8d4d254e8..c383ce678 100644 --- a/src/lbaf/Execution/lbsWorkStealingAlgorithm.py +++ b/src/lbaf/Execution/lbsWorkStealingAlgorithm.py @@ -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."""