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 Jul 12, 2024
1 parent 53aa1d3 commit 584757c
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 @@ -393,7 +393,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 584757c

Please sign in to comment.