Skip to content

Commit

Permalink
compiler: rebase over 4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed Nov 15, 2024
1 parent 552c480 commit 1398213
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions devito/deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions devito/ir/clusters/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1398213

Please sign in to comment.