]> www.ginac.de Git - ginac.git/commit
[PATCH] Fix bug in evaluation of real and imaginary parts of powers.
authorVladimir V. Kisil <kisilv@maths.leeds.ac.uk>
Mon, 11 Sep 2017 21:12:36 +0000 (23:12 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Mon, 11 Sep 2017 21:12:36 +0000 (23:12 +0200)
commitac58816ee70e2f9e8d863f3869ce512a4009ddc9
tree92a99de5c76ebf7e6792b18bd7b68a261b4a4761
parent60dbeb45d93b9610c840eecc9b4d7f5a71f9ab5d
[PATCH] Fix bug in evaluation of real and imaginary parts of powers.

Be more careful when simplifying Re(a^c) -> a^c and Im(a^c) -> 0.

Thanks to Jan Rheinländer for reporting this.
ginac/power.cpp