Skip to content

Commit

Permalink
compiler: Remove leftovers from operator
Browse files Browse the repository at this point in the history
  • Loading branch information
EdCaunt committed Oct 18, 2024
1 parent f533211 commit 1360b6e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions devito/operator/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,12 +504,6 @@ def dimensions(self):

# During compilation other Dimensions may have been produced
dimensions = FindSymbols('dimensions').visit(self)

# SubDimensions may only be present in the operator in the form of
# their thicknesses. These SubDimensions should be recovered if not
# already present in the operator dimensions.
ret.update(d for d in dimensions if d.is_Sub)

ret.update(d for d in dimensions if d.is_PerfKnob)

ret = tuple(sorted(ret, key=attrgetter('name')))
Expand Down

0 comments on commit 1360b6e

Please sign in to comment.