Skip to content

Commit

Permalink
compiler: Fix occurence of NullInterval after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed Nov 15, 2024
1 parent f6f843d commit 552c480
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devito/ir/clusters/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ def dspace(self):
# interval reconstruction
if i.dim in oobs and i.dim in f.dimensions:
ii = intervals[i.dim].intersection(v[i.dim])
intervals = intervals.set_upper(i.dim, ii.upper)
if not ii.is_Null:
intervals = intervals.set_upper(i.dim, ii.upper)

# E.g., `db0 -> time`, but `xi NOT-> x`
intervals = intervals.promote(lambda d: not d.is_Sub)
Expand Down

0 comments on commit 552c480

Please sign in to comment.