Skip to content

replace: only expand CoefficientDerivative#451

Open
pbrubeck wants to merge 2 commits intoFEniCS:mainfrom
firedrakeproject:pbrubeck/fix/replace-coefficient-derivative
Open

replace: only expand CoefficientDerivative#451
pbrubeck wants to merge 2 commits intoFEniCS:mainfrom
firedrakeproject:pbrubeck/fix/replace-coefficient-derivative

Conversation

@pbrubeck
Copy link
Contributor

@pbrubeck pbrubeck commented Dec 9, 2025

replace was unecessarily expanding all derivatives too early. This becomes a problem in Irksome where we introduce a TimeDerivative that cannot be expanded in UFL.

This PR avoids this problem by expanding CoefficientDerivative only.

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.

1 participant