Comment #3 on issue 1967 by manuelkaeppler: latex(Mul(Pow(2, 2,
evaluate=False), Pow(3, -1, evaluate=False), evaluate=False)) gives
\frac{4}{3}, not \frac{2^2}{3}
http://code.google.com/p/sympy/issues/detail?id=1967
This issue is still a problem for me in 0.7.2:
In [44]:
x=Add(Pow(4,Rational(5,3),evaluate=False),Mul(Pow(4,Rational(3,5),evaluate=False),Pow(4,Rational(5,3),evaluate=False),evaluate=False),evaluate=False)
In [45]: x
Out[45]: 4**(5/3) + 4**(3/5)*4**(5/3)
In [46]: pretty_print(x)
5/3 3/5 5/3
4 + 4 ⋅4
In [47]: latex(x)
Out[47]: '4^{\\frac{5}{3}} + 16 \\times 2^{\\frac{8}{15}}'
expected would be (in my opinion):
Out [47]:'4^{\\frac{5}{3}} + 4{\\frac{3}{5}}\\times 4^{\\frac{5}{3}}'
Should I file a new issue?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.