Skip to content

fix zero-form interpolation#4841

Merged
connorjward merged 1 commit intomainfrom
leo/fix-adjoint-simplification
Jan 29, 2026
Merged

fix zero-form interpolation#4841
connorjward merged 1 commit intomainfrom
leo/fix-adjoint-simplification

Conversation

@leo-collins
Copy link
Copy Markdown
Contributor

Zero-form interpolation interpolate(operand, dual_arg) was broken if dual_arg was a one-form and not a Cofunction.

Comment thread tests/firedrake/regression/test_interpolate.py
@connorjward
Copy link
Copy Markdown
Contributor

@leo-collins for this sort of thing I think @pbrubeck should be the reviewer.

@connorjward connorjward requested a review from pbrubeck January 29, 2026 09:54
Copy link
Copy Markdown
Contributor

@pbrubeck pbrubeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, I'm happy if this makes the test pass. The comment above makes it very clear that it only applies to bilinear Form.

@connorjward connorjward merged commit 5678ef8 into main Jan 29, 2026
7 checks passed
@connorjward connorjward deleted the leo/fix-adjoint-simplification branch January 29, 2026 16:05
j-bowhay pushed a commit to j-bowhay/firedrake that referenced this pull request Feb 24, 2026
connorjward pushed a commit that referenced this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants