Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
majosm committed Jul 1, 2022
1 parent 5cb8736 commit 0f94e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grudge/trace_pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def send_single_array(key, local_subary):
def recv_single_array(key, remote_subary_template):
if isinstance(remote_subary_template, Number):
# NOTE: Assumes that the same number is passed on every rank
return Number
return remote_subary_template
else:
ary_tag = (comm_tag, key)
return DistributedSendRefHolder(
Expand Down

0 comments on commit 0f94e3d

Please sign in to comment.