diff --git a/dace/codegen/codegen.py b/dace/codegen/codegen.py index cae1644419..5dbc28645c 100644 --- a/dace/codegen/codegen.py +++ b/dace/codegen/codegen.py @@ -102,8 +102,6 @@ def _get_codegen_targets(sdfg: SDFG, frame: framecode.DaCeCodeGenerator): state: SDFGState = parent nsdfg = state.sdfg frame.targets.add(disp.get_node_dispatcher(nsdfg, state, node)) - elif isinstance(node, ScopeBlock): - frame.targets.add(disp.get_state_scope_dispatcher(parent, node)) # Array allocation if isinstance(node, dace.nodes.AccessNode):