Skip to content

Commit

Permalink
Fix bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhale committed May 8, 2024
1 parent 707014a commit 56d7128
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 56d7128

Please sign in to comment.