Skip to content

Commit 92d0a36

Browse files
committed
fix bug
1 parent 8a966ba commit 92d0a36

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
@@ -722,7 +722,7 @@ def send_single_array(key, local_subary):
722722
def recv_single_array(key, remote_subary_template):
723723
if isinstance(remote_subary_template, Number):
724724
# NOTE: Assumes that the same number is passed on every rank
725-
return Number
725+
return remote_subary_template
726726
else:
727727
ary_tag = (comm_tag, key)
728728
return DistributedSendRefHolder(

0 commit comments

Comments
 (0)