Comment #2 on issue 3108 by ronan.l...@gmail.com: wrong code in Polygon.arbitrary_point
http://code.google.com/p/sympy/issues/detail?id=3108

It only works with built-in types (and sympy types that emulate them).

1 < x < 0
x < 0

Roughly, Python interprets "x < y < z" as "(x < y) and (y < z)", where "and" is the built-in operator. Since symbolic objects are true-ish, the latter expression evaluates to just "y < z".

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

Reply via email to