Opened 13 months ago

#26752 new defect

Conversion from sympy to sage loses Lambert's W branch argument.

Reported by: charpent Owned by:
Priority: major Milestone: sage-8.5
Component: symbolics Keywords: sympy, conversion
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

See this ask.sagemath question.

sage: Ex
111/1000*t + e^(-3/10*t) - 1
sage: import sympy
sage: sympy.solve(Ex)
[10*LambertW(-100*exp(-100/37)/37)/3 + 1000/111,
 10*LambertW(-100*exp(-100/37)/37, -1)/3 + 1000/111]
sage: [s._sage_() for s in sympy.solve(Ex)]
[10/3*lambert_w(-100/37*e^(-100/37)) + 1000/111,
 10/3*lambert_w(-100/37*e^(-100/37)) + 1000/111]

Change History (0)

Note: See TracTickets for help on using tickets.