On Tue, Mar 2, 2010 at 11:20 AM, Brian Granger <ellisonbg....@gmail.com> wrote: > Hi, > > Here is a branch that fixes a number of issues with Relational and Interval: > > * Relationals of numbers now evaluate immediately to a bool (Eq(0,0) -> > True) > * Intervals and other Sets will not raise a TypeError if Set.contains > returns a non bool. > This is to prevent Set.__contains__ (which casts the result of Set.contains > to a bool) > from returning meaningless results like x in Interval(0,1) == True. > > http://github.com/ellisonbg/sympy/tree/bg-relational > > All tests pass and I have added new tests to check the fixes. > > Thanks everyone for you help in ironing out these issues.
The patches are +1 from me, but I want to wait for Aaron, since it touches some ODE stuff. After that I can push it in. Ondrej -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patc...@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-patches?hl=en.