We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f843d commit 552c480Copy full SHA for 552c480
devito/ir/clusters/cluster.py
@@ -397,7 +397,8 @@ def dspace(self):
397
# interval reconstruction
398
if i.dim in oobs and i.dim in f.dimensions:
399
ii = intervals[i.dim].intersection(v[i.dim])
400
- intervals = intervals.set_upper(i.dim, ii.upper)
+ if not ii.is_Null:
401
+ intervals = intervals.set_upper(i.dim, ii.upper)
402
403
# E.g., `db0 -> time`, but `xi NOT-> x`
404
intervals = intervals.promote(lambda d: not d.is_Sub)
0 commit comments