Skip to content
Snippets Groups Projects
Commit 4ae9e360 authored by Julian Hammer's avatar Julian Hammer
Browse files

considering loop step length to be one for kerncraft

parent a3cb1634
Branches pystencils2.0-adoption-christoph
No related tags found
No related merge requests found
......@@ -59,7 +59,8 @@ class PyStencilsKerncraftKernel(kerncraft.kernel.KernelCode):
while cur_node is not None:
if isinstance(cur_node, LoopOverCoordinate):
loop_counter_sym = cur_node.loop_counter_symbol
loop_info = (loop_counter_sym.name, cur_node.start, cur_node.stop, cur_node.step)
loop_info = (loop_counter_sym.name, cur_node.start, cur_node.stop, 1)
# cur_node.step)
self._loop_stack.append(loop_info)
cur_node = cur_node.parent
self._loop_stack = list(reversed(self._loop_stack))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment