From 139821351b4a48ab9f732b9b3d19ae2ad996fb3a Mon Sep 17 00:00:00 2001 From: George Bisbas Date: Fri, 15 Nov 2024 18:52:39 +0000 Subject: [PATCH] compiler: rebase over 4.10 --- devito/deprecations.py | 4 ++-- devito/ir/clusters/cluster.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/devito/deprecations.py b/devito/deprecations.py index f13c145de5..7484d25a3a 100644 --- a/devito/deprecations.py +++ b/devito/deprecations.py @@ -6,14 +6,14 @@ class DevitoDeprecation(): @cached_property def coeff_warn(self): - warn("The Coefficient API is deprecated and will be removed, coefficients should" + warn("The Coefficient API is deprecated and will be removed, coefficients should " "be passed directly to the derivative object `u.dx(weights=...)", DeprecationWarning, stacklevel=2) return @cached_property def symbolic_warn(self): - warn("coefficients='symbolic' is deprecated, coefficients should" + warn("coefficients='symbolic' is deprecated, coefficients should " "be passed directly to the derivative object `u.dx(weights=...)", DeprecationWarning, stacklevel=2) return diff --git a/devito/ir/clusters/cluster.py b/devito/ir/clusters/cluster.py index a316458715..562512c252 100644 --- a/devito/ir/clusters/cluster.py +++ b/devito/ir/clusters/cluster.py @@ -393,9 +393,9 @@ def dspace(self): # intersecting intervals with matching only dimensions for f, v in parts.items(): for i in v: - # oobs check is not required but helps reduce - # interval reconstruction - if i.dim in oobs and i.dim in f.dimensions: + if i.dim in self.ispace and i.dim in f.dimensions: + # oobs check is not required but helps reduce + # interval reconstruction ii = intervals[i.dim].intersection(v[i.dim]) if not ii.is_Null: intervals = intervals.set_upper(i.dim, ii.upper)