Skip to content

Commit

Permalink
Fixed undefined node
Browse files Browse the repository at this point in the history
  • Loading branch information
HannanNaeem committed Oct 29, 2023
1 parent 95a172d commit 38d8e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pykokkos/core/parsers/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def fix_decorator(self, entity : PyKokkosEntity, updated_decorator: UpdatedDecor
needs_reset: bool = self.check_self(entity_tree)
if needs_reset:
entity_tree = self.reset_entity_tree(entity_tree, updated_decorator)
assert len(entity_tree.decorator_list), f"Decorator cannot be missing for pykokkos workunit {node.name}"
assert len(entity_tree.decorator_list), f"Decorator cannot be missing for pykokkos workunit {entity_tree.name}"

if not len(updated_decorator.inferred_decorator):
# no change needed
Expand Down

0 comments on commit 38d8e25

Please sign in to comment.