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 95e258e commit e2d6547Copy full SHA for e2d6547
devito/ir/clusters/cluster.py
@@ -362,13 +362,12 @@ def dspace(self):
362
intervals = intervals.promote(lambda d: not d.is_Sub)
363
intervals = intervals.zero(set(intervals.dimensions) - oobs)
364
365
- # DataSpace intervals should derive their upper bound from
366
- # the higher upper bound available in the involved parts
+ # Upper bound of intervals including dimensions classified for
+ # shifting should retain the "oobs" upper bound
367
for f, v in parts.items():
368
- try:
369
- intervals = intervals.ceil(v[f.time_dim])
370
- except:
371
- pass
+ for i in v:
+ if i.dim in oobs:
+ intervals = intervals.ceil(v[i.dim])
372
373
return DataSpace(intervals, parts)
374
0 commit comments