-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Allow python ints in sage.groups.generic.has_order #38980
base: develop
Are you sure you want to change the base?
Conversation
Documentation preview for this PR (built with commit f20bed4; changes) is ready! 🎉 |
This PR causes a doctest failure:
|
The documentation states that the input should be either an integer or in the class |
Not sure if
Though for ZZ instead of QQ I'm not sure if there's any bad side effect. What about |
I think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
Thanks for the review! |
Fixes #38708.
We revise
sage.groups.generic.has_order
to allow the argumentn
to be any integer (including a pythonint
), not only a sage integer.📝 Checklist
⌛ Dependencies
None.