-
-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bug in ExpressionNice with composite variables #33399
Comments
Commit: |
New commits:
|
This comment has been minimized.
This comment has been minimized.
Reviewer: Matthias Koeppe |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
comment:6
Thank you for the review. Here is a new version, which avoids |
comment:7
What do you think about the new version? Sorry for having pushed it after your positive review, but I thought this rewriting was better than the quick fix I first submitted, especially because it relies on standard Python, without the need of importing the |
comment:8
This version is also fine. Note though that |
comment:9
Replying to @mkoeppe:
Thank you!
You are right; I should have said basic Python, instead of standard Python. My concern was actually the CPU performance: it's always better to avoid an import, isn't it? (unless of course the function you import does the job more efficiently). |
comment:10
This module is already widely used by pretty much everything, so it's likely to be already loaded. And it's likely to be faster than doing the loop over the characters in the new version. But I don't think it matters. |
Changed branch from public/manifolds/expression_nice-33399 to |
In Sage 9.6.beta2, we have
So far, so good, but
This bug has been reported in https://groups.google.com/g/sage-support/c/fbE0APqThEk
With the fix introduced in this ticket, the last output is now
CC: @tscrim
Component: manifolds
Author: Eric Gourgoulhon
Branch/Commit:
9b9b65b
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/33399
The text was updated successfully, but these errors were encountered: