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

New issue 2361 by [email protected]: Mul.flatten needs to watch for the unevaluated Mul
http://code.google.com/p/sympy/issues/detail?id=2361

    1>> 9*x/(4*(1 - y))
    9*x/(4 - 4*y)
    2>> d = Mul(4, 1 - y, evaluate=False); d
    3>> 4*(1 - y) # this is right
    4>> 9*x/d
    9*x/(4*(1 - y)) # this is wrong...it should have flattened as in 1
    5>> _.expand()
    9*x/(4*(1 - y)) # because Mul doesn't handle it, other things fail, too

Mul.flatten should process the unevaluated Mul

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