Skip to content

Commit

Permalink
InstructionBase: implement _with_new_tags
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener authored and inducer committed Jul 18, 2024
1 parent d50b720 commit da5c786
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions loopy/kernel/instruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,9 @@ def __setstate__(self, val):
self.within_inames = (
intern_frozenset_of_ids(self.within_inames))

def _with_new_tags(self, tags: FrozenSet[Tag]):
return self.copy(tags=tags)

# }}}


Expand Down

0 comments on commit da5c786

Please sign in to comment.