-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
MPowerSeries
: Don't go through symbolics to compute exp(0), log(1)
#36260
MPowerSeries
: Don't go through symbolics to compute exp(0), log(1)
#36260
Conversation
@@ -1910,7 +1910,7 @@ def exp(self, prec=infinity): | |||
are not yet implemented and therefore such cases raise an error:: | |||
|
|||
sage: g = 2 + f | |||
sage: exp(g) | |||
sage: exp(g) # needs sage.symbolic |
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.
You can avoid SR
with g.exp()
here and likewise in the other examples.
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.
Actually this error does not come from going through SR but illustrates that exp(2) does not exist in the base ring.
2 of the other # needs sage.symbolic
turned out to be unnecessary due to advances in modularization. Removed in 7dde129
…tools_wheel, not the ancient build/pkgs/setuptools
…d]' --probe sage.symbolic --only-tags src/sage/rings/multi_power_series_ring_element.py
Documentation preview for this PR (built with commit e2a76d2; changes) is ready! 🎉 |
Ok, LGTM. I personally prefer |
Thanks! |
📝 Checklist
⌛ Dependencies
bootstrap
#36240 (merged here)pyproject.toml
files #36263 (merged here)