Skip to content

Commit fb2cac5

Browse files
committed
fix bug
1 parent 68e8db6 commit fb2cac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grudge/trace_pair.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ def send_single_array(key, local_subary):
717717
def recv_single_array(key, remote_subary_template):
718718
if isinstance(remote_subary_template, Number):
719719
# NOTE: Assumes that the same number is passed on every rank
720-
return Number
720+
return remote_subary_template
721721
else:
722722
ary_tag = (comm_tag, key)
723723
return DistributedSendRefHolder(

0 commit comments

Comments
 (0)