diff --git a/dace/codegen/targets/cpu.py b/dace/codegen/targets/cpu.py index 2d1c33df44..68c85966b7 100644 --- a/dace/codegen/targets/cpu.py +++ b/dace/codegen/targets/cpu.py @@ -699,7 +699,7 @@ def reallocate( new_size_array_name = src_node.data desc = sdfg.arrays[data_name] - assert type(data) == dt.Array + assert type(desc) == data.Array size_array_name = desc.size_desc_name dtype = sdfg.arrays[data_name].dtype