-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
typo in lambert_w._print_latex_() #19336
Comments
comment:3
What is the point of having a separate |
Commit: |
Branch: public/19336 |
New commits:
|
Author: Frédéric Chapoton |
comment:5
Inserting the braces is a nice start, but it doesn't fix the entire problem. Compare:
As you can see a function like "log" processes its arguments further for latex. Just inserting braces doesn't cut it. In bessel.py, the latex-ing of the arguments is done explicitly:
That's probably the thing to do for lambert_w too. |
comment:6
Replying to @videlec:
There's a case split for normal printing, suppressing a zero argument:
Possibly the same was done for latex at some point. I agree that with the current code, the case split can be removed in the latex code. |
comment:8
Here is a version with latex applied to the argument. I have also taken the opportunity to enhance the link with maxima, which now has the other branches of LambertW. |
comment:9
ping ? |
Reviewer: Ralf Stephan |
comment:10
Could you please add doctests for the Maxima additions? When done you can set positive since patchbot is already ok with it. |
comment:12
ok, I have added some doctests, hopefully corresponding to what you asked. I set to positive review. |
Changed branch from public/19336 to |
From https://groups.google.com/forum/?hl=en#!topic/sage-support/bjrk5270wEE
LaTeX output is defect.
this is probably
CC: @kcrisman
Component: symbolics
Author: Frédéric Chapoton
Branch/Commit:
a87b149
Reviewer: Ralf Stephan
Issue created by migration from https://trac.sagemath.org/ticket/19336
The text was updated successfully, but these errors were encountered: