Comment #3 on issue 2425 by asmeurer: Pretty printing bug
http://code.google.com/p/sympy/issues/detail?id=2425
It boils down (again) to this behavior:
In [21]: a.args[0]
Out[21]: x - 5
In [22]: a.args[0].as_coeff_mul()
Out[22]: (-1, (-x + 5,))
Is this necessary? It leads to the kind of minus sign manipulation that I
though we were trying to eliminate when we set keep_sign to True. Let me
see what happens if I change Add.as_coeff_mul() to always return (S.One,
self).
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.