Comment #3 on issue 1433 by asmeurer: Integrate returns different result
than from Matlab
http://code.google.com/p/sympy/issues/detail?id=1433
I bisected this way back to
commit c3680394baa9db983cb047c231760c9efd448e9d
Author: Fabian Pedregosa <fab...@fseoane.net>
Date: Wed May 27 13:01:40 2009 +0200
Refactor Integer._eval_power
I refactored Integer._eval_power with the aim of making it more
readable and to solve
some bugs. Code was rearranged to avoid duplicate code and commented.
Bugs solved: issue #1434, it failed to compute correctly (sqrt(-3)**3)
because it expanded
incorrectly negative powers.
Extended test coverage for Integer._eval_power and Rational._eval_power.
No behaviour changes were introduced (except where it was wrong before).
Signed-off-by: Fabian Pedregosa <fab...@fseoane.net>
Signed-off-by: Ondrej Certik <ond...@certik.cz>
which was first included in SymPy 0.6.5. That commit added a bunch of
tests for fractional powers of negative numbers, so I think this can remain
closed.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.