Skip to content

Commit

Permalink
Fix for missed ufcx change (#2745)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrichardson authored Aug 13, 2023
1 parent f0a56d1 commit 9939a8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/test/unit/fem/test_custom_assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ def test_custom_mesh_loop_rank1():
nptype = "complex128"
else:
raise RuntimeError("Unknown scalar type")
# First 0 for "cell" integrals, second 0 for the first one, i.e. default domain
kernel = getattr(ufcx_form.integrals(0)[0], f"tabulate_tensor_{nptype}")
# Get the one and only kernel
kernel = getattr(ufcx_form.form_integrals[0], f"tabulate_tensor_{nptype}")

for i in range(2):
b = b3.x.array
Expand Down

0 comments on commit 9939a8e

Please sign in to comment.