Skip to content
Snippets Groups Projects
Commit cf4cb170 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Fix Kernel=None case for name

parent 1eeab3a5
No related branches found
No related tags found
No related merge requests found
......@@ -665,7 +665,7 @@ class LoopyKernelMethod(ClassMember):
content.append(' ' + 'HP_TIMER_STOP({});'.format(timer_name))
content.append('}')
ClassMember.__init__(self, content, name=kernel.name)
ClassMember.__init__(self, content, name=kernel.name if kernel is not None else "")
def cgen_class_from_cache(tag, members=[]):
......
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