mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-05 02:30:08 +01:00
fixed ignoring of last line without end marker
This commit is contained in:
@@ -23,6 +23,8 @@ def reduce_to_section(kernel, isa):
|
|||||||
raise ValueError('ISA not supported.')
|
raise ValueError('ISA not supported.')
|
||||||
if start == -1:
|
if start == -1:
|
||||||
start = 0
|
start = 0
|
||||||
|
if end == -1:
|
||||||
|
end = len(kernel)
|
||||||
return kernel[start:end]
|
return kernel[start:end]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user