Skip to content

Commit

Permalink
Fix to erronous assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrudPrimrose committed Dec 13, 2024
1 parent 02a48e8 commit da7ba8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dace/codegen/targets/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da7ba8d

Please sign in to comment.