Skip to content
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: Spaces compare as equal with their dual #3130

Closed
jrmaddison opened this issue Sep 27, 2023 · 4 comments
Closed

BUG: Spaces compare as equal with their dual #3130

jrmaddison opened this issue Sep 27, 2023 · 4 comments
Labels

Comments

@jrmaddison
Copy link
Contributor

Describe the bug
Dual spaces compare as equal with associated primal spaces.

Steps to Reproduce

from firedrake import *

mesh = UnitIntervalMesh(10)
V = FunctionSpace(mesh, "Lagrange", 1)
V_star = V.dual()

assert bool(V == V_star)  # Passes

Expected behavior
Since the spaces differ, they should not compare as equal.

Error message
No error.

Environment:
Ubuntu 22.04

@nbouziani
Copy link
Contributor

I have just fixed that in #3214

@jrmaddison
Copy link
Contributor Author

Reopening for now as the fix is not yet merged.

@jrmaddison
Copy link
Contributor Author

@pbrubeck Fixed?

@pbrubeck
Copy link
Contributor

Fixed in #3947

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants