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

[bugfix] Correctly guard with fastdg option

parent d48060fa
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,10 @@ class VectorSumfactKernelInput(SumfactKernelInterfaceBase): ...@@ -114,7 +114,10 @@ class VectorSumfactKernelInput(SumfactKernelInterfaceBase):
@property @property
def signature_args(self): def signature_args(self):
return tuple("const double* fastdg{}".format(i)for i, _ in enumerate(remove_duplicates(self.interfaces))) if get_form_option("fastdg"):
return tuple("const double* fastdg{}".format(i)for i, _ in enumerate(remove_duplicates(self.interfaces)))
else:
return ()
@property @property
def function_name_suffix(self): def function_name_suffix(self):
......
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