Updates:
        Status: Invalid

Comment #1 on issue 3593 by [email protected]: order of args shouldn't matter in Piecewise
http://code.google.com/p/sympy/issues/detail?id=3593

Of course the order matters, in pseudocode the Piecewise is:

if x < 1 is True:
    return x
elif True is True:
    return y*(1 + y/x)

while the Piecewise with reversed args is

if True is True:
    return y*(1 + y/x)
elif x < 1:
    return x

thus with reversed args you never reach the elif condition.

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

Reply via email to