From da7ba8da1b2aa7f5d7ea9f34b1d1e026bb7c3b2e Mon Sep 17 00:00:00 2001 From: Yakup Budanaz Date: Fri, 13 Dec 2024 17:42:41 +0100 Subject: [PATCH] Fix to erronous assertion --- dace/codegen/targets/cpu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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