Comment #3 on issue 3073 by matt...@gmail.com: Ordering args in Adds when printing to move negative signs
http://code.google.com/p/sympy/issues/detail?id=3073

Yes:

pprint(-x + y, order="lex")
-x + y
pprint(-x + y, order="rev-lex")
y - x

but that's just simple symmetry.

Anyway, it may not be possible to fix this on ordering level, because the case outlined in this issue may work only for certain expressions like 1 - x or y - x, but what about -x**2 + x - 1 or -x**2 + x + 1? (it wouldn't be appealing to print x - x**2 - 1 in the former case)


--
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.

Reply via email to