Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3110 by [email protected]: Piecewise.as_leading_term is broken
http://code.google.com/p/sympy/issues/detail?id=3110

In [13]: Piecewise((1/x, x>1), (0, True)).as_leading_term(x)
---------------------------------------------------------------------------
<snip>
TypeError: args must be a (expr, cond) pair

In [14]: Piecewise((x, x>1), (0, True)).as_leading_term(x)
Out[14]: x

Both results should be 0.

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