Skip to content

Commit 0f94e3d

Browse files
committed
fix bug
1 parent 5cb8736 commit 0f94e3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

grudge/trace_pair.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def send_single_array(key, local_subary):
707707
def recv_single_array(key, remote_subary_template):
708708
if isinstance(remote_subary_template, Number):
709709
# NOTE: Assumes that the same number is passed on every rank
710-
return Number
710+
return remote_subary_template
711711
else:
712712
ary_tag = (comm_tag, key)
713713
return DistributedSendRefHolder(

0 commit comments

Comments
 (0)