-
-
Notifications
You must be signed in to change notification settings - Fork 685
Fix missing warning in SplittingAlgebra #41016
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
base: develop
Are you sure you want to change the base?
Conversation
|
Documentation preview for this PR (built with commit 3c445f3; changes) is ready! 🎉 |
|
if it defaults to None but is set to True whenever it's None, isn't it simpler to default it to True as before? |
Yes, you're right! I changed that again (it must have been a relic from a previous attempt). Thanks for watching. |
|
not sure if the following can happen and what's the intended behavior. Let's say you have and both |
I understand your point, but I think it doesn't apply in our cases:
|
sagemathgh-41016: Fix missing warning in SplittingAlgebra <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> ### 📝 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. - [x] 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. This PR fixes the bug identified at sagemath#40213 (comment). In detail: * The keyword is passed in recursive calls. * An additional check is added before the warning in recursive calls is raised to avoid unnecessary warnings. This PR also fixes some optional doctests in `src/sage/algebras/hecke_algebras/cubic_hecke_algebra.py` that were broken due to changes to polynomial formatting. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41016 Reported by: Sebastian Oehms Reviewer(s): Chenxin Zhong
📝 Checklist
This PR fixes the bug identified at #40213 (comment). In detail:
This PR also fixes some optional doctests in
src/sage/algebras/hecke_algebras/cubic_hecke_algebra.pythat were broken due to changes to polynomial formatting.⌛ Dependencies