We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53aa1d3 commit 584757cCopy full SHA for 584757c
devito/ir/clusters/cluster.py
@@ -393,7 +393,8 @@ def dspace(self):
393
# interval reconstruction
394
if i.dim in oobs and i.dim in f.dimensions:
395
ii = intervals[i.dim].intersection(v[i.dim])
396
- intervals = intervals.set_upper(i.dim, ii.upper)
+ if not ii.is_Null:
397
+ intervals = intervals.set_upper(i.dim, ii.upper)
398
399
# E.g., `db0 -> time`, but `xi NOT-> x`
400
intervals = intervals.promote(lambda d: not d.is_Sub)
0 commit comments