Comment #2 on issue 3262 by [email protected]: CSE loses factor of I (imag. unit)
http://code.google.com/p/sympy/issues/detail?id=3262

There are really multiple layers of breakage here.

- First, I.as_base_exp() returns (-1, 1/2). I doubt this is wise--see next point.

- breakup() within Mul._eval_subs() then adds up exponents of (-1), yielding (-1)**(3/2), which sympy justifiedly rejects as undefined.

- That error really never comes to pass, though, because Mul._eval_subs() throws away the coefficient (and all its powers) if it was able to multiplicatively_extract() them. Unfortunately, it assumes that the entire 'coefficient' is contained in the first arg of the Mul, which is untrue in this case.

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