Comment #2 on issue 3108 by [email protected]: 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 [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-issues?hl=en.