Skip to content
Snippets Groups Projects
Commit 84d5dea3 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix offset processing in debug scan kernel

parent d09a4c9d
No related branches found
No related tags found
No related merge requests found
......@@ -1427,7 +1427,7 @@ void ${name_prefix}_debug_scan(
${arg_ctypes[arg_name]} ${name};
%if ife_offset < 0:
if (i+${ife_offset} >= 0)
${name} = ${arg_name}[i+offset];
${name} = ${arg_name}[i+${ife_offset}];
%else:
${name} = ${arg_name}[i];
%endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment