[BugFix] Fix indexing with ghostlayers
Compare changes
- Markus Holzer authored
+ 2
− 1
@@ -398,7 +398,8 @@ def _loop_ctr_assignments(loop_counter_symbols, coordinates, iteration_space):
@@ -398,7 +398,8 @@ def _loop_ctr_assignments(loop_counter_symbols, coordinates, iteration_space):
for loop_counter, coordinate, iter_slice in zip(loop_counter_symbols, coordinates, iteration_space):
loop_ctr_assignments.append(SympyAssignment(loop_counter, coordinate * iter_slice.step - iter_slice.start))