We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c725b2f commit 89cde25Copy full SHA for 89cde25
devito/passes/clusters/cse.py
@@ -235,8 +235,8 @@ def _compact(exprs, exclude):
235
# Find all the CTemps in expression right-hand-sides without removing duplicates
236
ctemps = retrieve_ctemps(e.rhs for e in exprs)
237
238
- # If there are ctemps in the expressions, then add any to the mapper which only
239
- # appear once
+ # If there are ctemps in the expressions, then add any that only appear once to
+ # the mapper
240
if ctemps:
241
ctemp_count = Counter(ctemps)
242
mapper.update({e.lhs: e.rhs for e in candidates
0 commit comments