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

Fix some comma-separated-iname parsing

parent f1012ba2
No related branches found
No related tags found
No related merge requests found
...@@ -555,9 +555,10 @@ def duplicate_inames(knl, inames, within, new_inames=None, suffix=None, ...@@ -555,9 +555,10 @@ def duplicate_inames(knl, inames, within, new_inames=None, suffix=None,
# {{{ normalize arguments, find unique new_inames # {{{ normalize arguments, find unique new_inames
if isinstance(inames, str): if isinstance(inames, str):
inames = inames.split(",") inames = [iname.strip() for iname in inames.split(",")]
if isinstance(new_inames, str): if isinstance(new_inames, str):
new_inames = new_inames.split(",") new_inames = [iname.strip() for iname in new_inames.split(",")]
from loopy.context_matching import parse_stack_match from loopy.context_matching import parse_stack_match
within = parse_stack_match(within) within = parse_stack_match(within)
......
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