-
Notifications
You must be signed in to change notification settings - Fork 161
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
BUG: LinearSolver.solve
fails when passed two Functions
.
#3203
Comments
LinearSolver.solve
fails when passed to Functions
.LinearSolver.solve
fails when passed two Functions
.
@nbouziani you added the previous dual code to |
I am not sure it makes sense for both to be |
Yeah, |
I agree with the theory, but I'm unsure about the practice: how strongly is the cofunction business enforced? Update: indeed replacing to sum up, it looks like the bug is that |
Places where it is not enforced correctly are bugs. |
The linear solver can accept As for the manual, this part seems out-of-date and should be updated. I will open up a PR to fix both issues. |
See #3214 |
I guess this can be closed. |
Describe the bug
LinearSolver.solve
fails when passed twoFunctions
. The issue may be that hereb
could be a function (which is allowed in solve, see here), butblift
returned by _rhs (see here) is always a cofunction.Steps to Reproduce
Error message
Environment:
MacOS,
Python 3.11.6
Firedrake Configuration:
The text was updated successfully, but these errors were encountered: