Comment #10 on issue 3025 by ronan.l...@gmail.com: Piecewise evaluate=False does not work when conditions are boolean
http://code.google.com/p/sympy/issues/detail?id=3025

I'd rather base the discussion on the existing behaviour (and ignore the difference between evaluating to nan and raising ValueError), because there are things in Sean's branch I don't understand at all, such as "Piecewise((x, x > 1), (0, True), nan) in Sean's branch evaluates to 0, because (0, True) is parsed as an expr, cond pair, and since the condition is True, it returns the expression." I don't see why the 2nd condition being True should cause the Piecewise to evaluate to 0.

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