You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the cuplrit in the fact that CachedRepresentation of CohomologyClass caches only the string representation, so it reuses them for different parents.
Solved by adding a parent to the creation of the class.
### 📚 Description
Fixes#35649
Adds the parent to the creation of cohomology classes, so they are not
confused between different parents.
### 📝 Checklist
- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.
### ⌛ Dependencies
URL: #35650
Reported by: miguelmarco
Reviewer(s): Matthias Köppe, miguelmarco, Travis Scrimshaw
Is there an existing issue for this?
Did you read the documentation and troubleshoot guide?
Environment
Steps To Reproduce
Expected Behavior
The codomain of the minimal model of the second GCDA should be the second algebra itself
Actual Behavior
It returns the first algebra
Additional Information
Example:
The text was updated successfully, but these errors were encountered: