Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium
New issue 2104 by smichr: canonical ordering of terms
http://code.google.com/p/sympy/issues/detail?id=2104
The ordering of args appears to depend on the hash rather than mathematical
criteria. It would be nice if it were not so. Here, I print the arguments
of a two-term Add that is constructed of dummy variables as it is
encountered in the could_extract_minus_sign routine and you can see that
the ordering of terms switches:
(-4*_p**3, 3*_p**2)
(4*_p**3, -3*_p**2)
(3*_p**2, -4*_p**3)
(-3*_p**2, 4*_p**3)
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-iss...@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.