On Mar 30, 7:43 pm, Brian Granger <[email protected]> wrote:
> The reason is that the __nonzero__ methods of different Relational
> subclasses use the .compare method in different ways.  I didn't write
> this code, BUT I seem to remember that many tests fail if you simply
> have __nonzero__ return True.  I didn't investigate why, but my guess
> is that this is used to order different Relationals in expressions.

This is imho a bug that should be fixed. Such things should not be
used for ordering, this is not a clean approach and this should also
be fixed.

Vinzent

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