-
-
Notifications
You must be signed in to change notification settings - Fork 649
details about ruff code RET in modular folder #40199
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 54dea38; changes) is ready! 🎉 |
| q = self._series_ring.gen() | ||
| E4_ZZ = ((-q*self.J_inv_ZZ().derivative())**2/(self.J_inv_ZZ()*(self.J_inv_ZZ()-1))).power_series() | ||
| return E4_ZZ | ||
| return ((-q*self.J_inv_ZZ().derivative())**2 / (self.J_inv_ZZ()*(self.J_inv_ZZ()-1))).power_series() |
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.
| return ((-q*self.J_inv_ZZ().derivative())**2 / (self.J_inv_ZZ()*(self.J_inv_ZZ()-1))).power_series() | |
| J_Inv = self.J_inv_ZZ() | |
| return ((-q * J_Inv.derivative())**2 / (J_inv * (J_inv-1))).power_series() |
| q = self._series_ring.gen() | ||
| E6_ZZ = ((-q*self.J_inv_ZZ().derivative())**3/(self.J_inv_ZZ()**2*(self.J_inv_ZZ()-1))).power_series() | ||
| return E6_ZZ | ||
| return ((-q*self.J_inv_ZZ().derivative())**3 / (self.J_inv_ZZ()**2*(self.J_inv_ZZ()-1))).power_series() |
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.
| return ((-q*self.J_inv_ZZ().derivative())**3 / (self.J_inv_ZZ()**2*(self.J_inv_ZZ()-1))).power_series() | |
| J_inv = self.J_inv_ZZ() | |
| return ((-q * J_inv.derivative())**3 / (J_inv**2 * (J_inv-1))).power_series() |
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.
LGTM
mainly about small simplifications ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#40199 Reported by: Frédéric Chapoton Reviewer(s): Martin Rubey
|
Thanks Martin ! |
|
Possibly move the two suggestions to a new ticket? |
|
indeed, as Volker has started to use the branch, one should not include them here. As I try hard to avoid dependencies between pull requests, I will have to remember later.. |
sagemathgh-40199: details about ruff code RET in modular folder mainly about small simplifications ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#40199 Reported by: Frédéric Chapoton Reviewer(s): Martin Rubey
sagemathgh-40199: details about ruff code RET in modular folder mainly about small simplifications ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#40199 Reported by: Frédéric Chapoton Reviewer(s): Martin Rubey
sagemathgh-40199: details about ruff code RET in modular folder mainly about small simplifications ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#40199 Reported by: Frédéric Chapoton Reviewer(s): Martin Rubey
sagemathgh-40199: details about ruff code RET in modular folder mainly about small simplifications ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#40199 Reported by: Frédéric Chapoton Reviewer(s): Martin Rubey
sagemathgh-40199: details about ruff code RET in modular folder mainly about small simplifications ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#40199 Reported by: Frédéric Chapoton Reviewer(s): Martin Rubey
mainly about small simplifications
📝 Checklist