Skip to content

Commit

Permalink
NestedDict fix for attributed lookups where the root is not a Structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnick83 committed Sep 6, 2023
1 parent 583c7c9 commit cc6223a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dace/sdfg/sdfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __contains__(self, key):
else:
desc = desc.members[token]
token = tokens.pop(0)
result = token in desc.members
result = hasattr(desc, 'members') and token in desc.members
return result


Expand Down

0 comments on commit cc6223a

Please sign in to comment.