Skip to content

Commit 059bd23

Browse files
majosminducer
authored andcommitted
add send.data as a predecessor of DistributedSendRefHolder
map_distributed_send_ref_holder typically calls rec() on it, so it should be a predecessor
1 parent 76570ef commit 059bd23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytato/analysis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def map_distributed_recv(self,
402402
def map_distributed_send_ref_holder(self,
403403
expr: DistributedSendRefHolder
404404
) -> list[ArrayOrNames]:
405-
return [expr.passthrough_data]
405+
return [expr.send.data, expr.passthrough_data]
406406

407407
def map_call(
408408
self, expr: Call) -> list[ArrayOrNames | FunctionDefinition]:

0 commit comments

Comments
 (0)