Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium NeedsReview

New issue 2342 by [email protected]: as_coefficient error
http://code.google.com/p/sympy/issues/detail?id=2342

There is a logical error in as_coefficient:

    (1 + 2*x*y).as_coefficient(y)
    2*x

This is the answer for `(1 + 2*x*y).coeff(y)`. If you don't think this is a problem, consider that master gives:

    sin(x + 3*i*pi)
    0

eek!


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