On Sun, Jun 24, 2012 at 4:07 AM, Aaron Meurer <[email protected]> wrote:
> The only potential issue I see with not sorting at all is if some
> algorithm implicitly relies on the order of iteration through .args to
> get a specific result (even if all results are mathematically
> correct). We'll find these soon enough with PR #1379 though.

This problem can always be solved by doing:

  sargs = sorted(s.args, key=default_sort_key)

This is how I addressed the issue that FiniteSet._complement relied on
.args being ordered.

Sergiu

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to