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.

Cheers,

Brian

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

Reply via email to