Skip to content

Commit

Permalink
SDFG.arg_names was not a member but a class variable. (#1457)
Browse files Browse the repository at this point in the history
The member variable `arg_names` was not created in the constructor. Thus
a class variable was created instead which was shared among all
instances.
  • Loading branch information
philip-paul-mueller authored Nov 29, 2023
1 parent 54e6860 commit 16c569b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dace/sdfg/sdfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ def __init__(self,
self._parent_nsdfg_node = None
self._sdfg_list = [self]
self._arrays = NestedDict() # type: Dict[str, dt.Array]
self.arg_names = []
self._labels: Set[str] = set()
self.global_code = {'frame': CodeBlock("", dtypes.Language.CPP)}
self.init_code = {'frame': CodeBlock("", dtypes.Language.CPP)}
Expand Down

0 comments on commit 16c569b

Please sign in to comment.