From 56d7128e7306debfafdf9fdbc8211c1b8c59d412 Mon Sep 17 00:00:00 2001 From: "Jack S. Hale" Date: Wed, 8 May 2024 09:49:46 +0200 Subject: [PATCH] Fix bug. --- test/test_signatures.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_signatures.py b/test/test_signatures.py index 8ac34e72c..8c068cac9 100644 --- a/test/test_signatures.py +++ b/test/test_signatures.py @@ -18,7 +18,9 @@ def generate_kernel(forms, scalar_type, options): """Generate kernel for given forms.""" - compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms(forms) + compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( + forms, options={"scalar_type": scalar_type} + ) for f, compiled_f in zip(forms, compiled_forms): assert compiled_f.rank == len(f.arguments())