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

I disagree with that. For example, the bizarre output in comment 8 (two otherwise conditions) is a direct result of the way it's done now (granted, it's likely due to an oversight as I noted, but if it were done the way as it's done in Sean's branch, that would never have happened).

To me, (otherwise, True) is confusing. In a piecewise, (expr, cond) should mean return expr when cond is True. But the way it's done now turns directly contradicts that.

With the new way, we can assert this: that if a condition is True, that's what is returned. I don't see what's puzzling about that.

By the way, if we're going to argue about the new syntax, perhaps it should be over at issue 2626, where I've already made many arguments about it (and several people agreed).

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