#19336: typo in lambert_w._print_latex_()
-------------------------+----------------------------
Reporter: rws | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.9
Component: symbolics | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-------------------------+----------------------------
From https://groups.google.com/forum/?hl=en#!topic/sage-
support/bjrk5270wEE
LaTeX output is defect.
this is probably
{{{
diff --git a/src/sage/functions/log.py b/src/sage/functions/log.py
index cc59437..17241ad 100644
--- a/src/sage/functions/log.py
+++ b/src/sage/functions/log.py
@@ -766,8 +766,8 @@ class Function_lambert_w(BuiltinFunction):
\operatorname{W_{1}}(x)
"""
if n == 0:
- return r"\operatorname{W_0}(%s)" % z
+ return r"\operatorname{W_0}({%s})" % z
else:
- return r"\operatorname{W_{%s}}(%s)" % (n, z)
+ return r"\operatorname{W_{%s}}({%s})" % (n, z)
lambert_w = Function_lambert_w()
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19336>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.