-
-
Notifications
You must be signed in to change notification settings - Fork 674
refresh our Macaulay2 interface #40991
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 e6756ce; changes) is ready! 🎉 |
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.
rude...
src/sage/interfaces/macaulay2.py
Outdated
n = ZZ(n) | ||
if n.is_prime(): | ||
return GF(n) | ||
else: |
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.
remove else
src/sage/interfaces/macaulay2.py
Outdated
if cls_str == "ZZ": | ||
from sage.rings.integer_ring import ZZ | ||
return ZZ(repr_str) | ||
elif cls_str == "QQ": |
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.
if
lint error |
so that
Note that the conversion of ChainComplexes works, there is only a failure when running "sage -t"
📝 Checklist