Skip to content

Commit 1398213

Browse files
committed
compiler: rebase over 4.10
1 parent 552c480 commit 1398213

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

devito/deprecations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ class DevitoDeprecation():
66

77
@cached_property
88
def coeff_warn(self):
9-
warn("The Coefficient API is deprecated and will be removed, coefficients should"
9+
warn("The Coefficient API is deprecated and will be removed, coefficients should "
1010
"be passed directly to the derivative object `u.dx(weights=...)",
1111
DeprecationWarning, stacklevel=2)
1212
return
1313

1414
@cached_property
1515
def symbolic_warn(self):
16-
warn("coefficients='symbolic' is deprecated, coefficients should"
16+
warn("coefficients='symbolic' is deprecated, coefficients should "
1717
"be passed directly to the derivative object `u.dx(weights=...)",
1818
DeprecationWarning, stacklevel=2)
1919
return

devito/ir/clusters/cluster.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,9 @@ def dspace(self):
393393
# intersecting intervals with matching only dimensions
394394
for f, v in parts.items():
395395
for i in v:
396-
# oobs check is not required but helps reduce
397-
# interval reconstruction
398-
if i.dim in oobs and i.dim in f.dimensions:
396+
if i.dim in self.ispace and i.dim in f.dimensions:
397+
# oobs check is not required but helps reduce
398+
# interval reconstruction
399399
ii = intervals[i.dim].intersection(v[i.dim])
400400
if not ii.is_Null:
401401
intervals = intervals.set_upper(i.dim, ii.upper)

0 commit comments

Comments
 (0)