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

Fix passing temporary_variables to make_kernel

parent 804f060e
No related branches found
No related tags found
No related merge requests found
......@@ -1088,7 +1088,7 @@ def make_kernel(domains, instructions, kernel_data=["..."], **kwargs):
kernel_data = kernel_data.split(",")
kernel_args = []
temporary_variables = {}
temporary_variables = kwargs.pop("temporary_variables", {}).copy()
for dat in kernel_data:
if dat is Ellipsis or isinstance(dat, str):
kernel_args.append(dat)
......
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