-
-
Notifications
You must be signed in to change notification settings - Fork 704
Fix bug in SkewPolynomialRing when twisting morphism is trivial #40697
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
Conversation
|
Documentation preview for this PR (built with commit d0a839e; changes) is ready! 🎉 |
|
I've searched for |
|
I don't know but it is similar in many (all?) PR. So, I think we do have to care about this. |
sagemathgh-40697: Fix bug in SkewPolynomialRing when twisting morphism is trivial When a skew polynomial ring is created with a trivial twisting morphism (with option `polcast=False`), the attribute `_morphism` is set to `None`, which makes several methods produce an error. This PR fixes this bug. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#40697 Reported by: Xavier Caruso Reviewer(s): Antoine Leudière, Xavier Caruso
sagemathgh-40697: Fix bug in SkewPolynomialRing when twisting morphism is trivial When a skew polynomial ring is created with a trivial twisting morphism (with option `polcast=False`), the attribute `_morphism` is set to `None`, which makes several methods produce an error. This PR fixes this bug. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#40697 Reported by: Xavier Caruso Reviewer(s): Antoine Leudière, Xavier Caruso
|
I don't understand if this PR is planned to be merged or not but, in any case, I give back the positive review. |
sagemathgh-40697: Fix bug in SkewPolynomialRing when twisting morphism is trivial When a skew polynomial ring is created with a trivial twisting morphism (with option `polcast=False`), the attribute `_morphism` is set to `None`, which makes several methods produce an error. This PR fixes this bug. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#40697 Reported by: Xavier Caruso Reviewer(s): Antoine Leudière, Xavier Caruso
When a skew polynomial ring is created with a trivial twisting morphism (with option
polcast=False), the attribute_morphismis set toNone, which makes several methods produce an error.This PR fixes this bug.
📝 Checklist