Skip to content

Commit

Permalink
Add extra assemble in test_assemble_interp_adjoint_complex
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmaddison committed Jan 23, 2025
1 parent 6867367 commit 9c783cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/firedrake/regression/test_interp_dual.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_assemble_interp_adjoint_complex(mesh, V1, V2, f1):
f1 = Constant(3 - 5.j) * f1

a = assemble(conj(TestFunction(V1)) * dx)
b = Interpolator(f1 * TestFunction(V2), V1).interpolate(a, adjoint=True)
b = assemble(Interpolator(f1 * TestFunction(V2), V1).interpolate(a, adjoint=True))

x, y = SpatialCoordinate(mesh)
f2 = Function(V2, name="f2").interpolate(
Expand Down

0 comments on commit 9c783cb

Please sign in to comment.