The internal workings for sets may (I'm not sure) assume the non-sorted nature of a and b. You should check out the rules for unions and intersections. There are many complex situations that can arise that all work out because the definitions are somewhat strict.
On Wed, Nov 30, 2011 at 9:15 AM, smichr <[email protected]> wrote: > The docs say, " - Interval(a, b) with a > b will return the > empty set". Is there any reason not to sort a and b? > > -- > 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. > > -- 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.
