ufl icon indicating copy to clipboard operation
ufl copied to clipboard

replace: only expand CoefficientDerivative

Open pbrubeck opened this issue 2 months ago • 0 comments

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.

pbrubeck avatar Dec 09 '25 12:12 pbrubeck