diff --git a/dace/sdfg/state.py b/dace/sdfg/state.py index a4a6648401..ae8fedcfe8 100644 --- a/dace/sdfg/state.py +++ b/dace/sdfg/state.py @@ -1689,7 +1689,7 @@ def add_memlet_path(self, *path_nodes, memlet=None, src_conn=None, dst_conn=None # Modify edge to match memlet path edge._src_conn = sconn edge._dst_conn = dconn - edge._data = cur_memlet + edge._data = copy.deepcopy(cur_memlet) # Add connectors to edges if propagate_forward: