Skip to content

Commit 20c433f

Browse files
authored
Merge pull request #2755 from devitocodes/intify-stencildim
compiler: Intify StencilDimension attributes
2 parents a04b3af + bc70ce4 commit 20c433f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

devito/types/dimension.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,9 +1567,9 @@ def __init_finalize__(self, name, _min, _max, spacing=1, step=1,
15671567
if not is_integer(step):
15681568
raise ValueError("Expected integer `step` (got %s)" % step)
15691569

1570-
self._min = _min
1571-
self._max = _max
1572-
self._step = step
1570+
self._min = int(_min)
1571+
self._max = int(_max)
1572+
self._step = int(step)
15731573

15741574
self._size = _max - _min + 1
15751575

0 commit comments

Comments
 (0)