Skip to content

Commit

Permalink
Fix blunder
Browse files Browse the repository at this point in the history
  • Loading branch information
phschaad committed Jan 29, 2024
1 parent 27a350e commit 5aeec96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dace/transformation/transformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ def apply_pattern(self, append: bool = True, annotate: bool = True) -> Union[Any
tsdfg = tcfg.sdfg if not isinstance(tcfg, SDFG) else tcfg
tgraph = tcfg.node(self.state_id) if self.state_id >= 0 else tcfg
retval = self.apply(tgraph, tsdfg)
if annotate and not self.annotates_memlets(tsdfg):
propagation.propagate_memlets_sdfg()
if annotate and not self.annotates_memlets():
propagation.propagate_memlets_sdfg(tsdfg)
return retval

def __lt__(self, other: 'PatternTransformation') -> bool:
Expand Down

0 comments on commit 5aeec96

Please sign in to comment.