-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic differentiation is not supported for Cofunction.assign #3464
Comments
Yes, it is. I think a workaround was discussed during one of the Firedrake meeting but that wasn't part of the dual PR (#2294). Also, note that the above assignment is not supported as cofunctions can only be assigned zero, cofunctions, or base form objects. In fact, if you remove the |
Ok. It looks like the cofunctions assignment will not work with
which results in the error:
In addition, we have warnings when we assign
|
We have the
NotImplementedError: Automatic differentiation is not supported for this operation.
for the operationCofunction.assign()
Steps to reproduce:
Question:
Is that expected? What is the main issue with having the automatic differentiation working for
Cofunction.assign()
operation?The text was updated successfully, but these errors were encountered: