Skip to content

Commit

Permalink
compiler: Hotfix detect_accesses
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini committed Feb 11, 2022
1 parent 979202e commit d2ece83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/ir/support/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def detect_accesses(exprs):
# accesses such as `time / factor - 1`
assert d in a.free_symbols

if d.symbolic_size.is_integer:
if (d.is_Custom or d.is_Default) and d.symbolic_size.is_integer:
# Explicitly unfold Default and CustomDimensions
mapper[f][d].update(range(off, d.symbolic_size + off))
else:
Expand Down

0 comments on commit d2ece83

Please sign in to comment.