From 1360b6e1132457cacd5974baf2587c1c9d160d93 Mon Sep 17 00:00:00 2001 From: Edward Caunt Date: Fri, 18 Oct 2024 15:14:43 +0100 Subject: [PATCH] compiler: Remove leftovers from operator --- devito/operator/operator.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/devito/operator/operator.py b/devito/operator/operator.py index 1c9989c4e6..0a7e0dc7da 100644 --- a/devito/operator/operator.py +++ b/devito/operator/operator.py @@ -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')))