Fix bug in power::expand() with the overall coefficient.
authorVladimir V. Kisil <V.Kisilv@leeds.ac.uk>
Mon, 27 Jul 2020 19:03:42 +0000 (21:03 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Mon, 27 Jul 2020 19:03:42 +0000 (21:03 +0200)
commitb773294dd380ae81056c3d37b647500aae738ea1
tree786543836bd39c2571f37daabd411275f9826d95
parent1256fb73b64a1cdfb0838df06facbc1e8b2d5f83
Fix bug in power::expand() with the overall coefficient.

The negative sign of overall coefficient had been lost if a
power base contained some sign-definite factors.
check/exam_paranoia.cpp
ginac/power.cpp