Comment #8 on issue 2848 by [email protected]: Failing test in sympy/solvers/test/test_solvers.py
http://code.google.com/p/sympy/issues/detail?id=2848

Actually, you don't need to restart the session, clearing the cache is enough, fortunately.

After some single-stepping in WinPdb, I've narrowed it down further again to:
clear_cache()
simplify(I*pi)
I*pi
(pi*I).is_positive
True

But note that even in that case,
(I*pi).is_positive
False

and yet,

pi*I == I*pi
True

This explains why the wrong assumptions propagate only some times - it depends on whether I*pi or pi*I is used (evaluating log(-2) uses pi*I).

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