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

New issue 2707 by [email protected]: exctract_multiplicatively problem with Add in Mul
http://code.google.com/p/sympy/issues/detail?id=2707

I would expect 1/2 from both cases below:

    >>> (y*(1+x)/2).extract_multiplicatively(y*(1+x))
    >>> (y*x/2).extract_multiplicatively(y*x)
    1/2

The 1/2 is not being autodistributed, so that's not the problem (unless expand is being used within the extraction routine0:

    >>> y*(1+x)/2
    y*(x + 1)/2

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