]> www.ginac.de Git - ginac.git/commit
Fix power::to_polynomial() for posint exponents.
authorVladimir V. Kisil <kisilv@maths.leeds.ac.uk>
Thu, 13 Jan 2022 19:59:21 +0000 (20:59 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Thu, 13 Jan 2022 19:59:21 +0000 (20:59 +0100)
commitf9450a587900dbd7265b7a1b9b3250a6d574bc13
tree09d1e3d50105c8e4ae5037205ca0c26645946249
parent052d2da5b41ac82855d3578050125aa21caf1003
Fix power::to_polynomial() for posint exponents.

This makes things like pow(x+1/x,2).to_polynomial(repl) actually
produce (x+sym)^2 with sym==1/x in repl, as it should.

Reported by Feng Feng <f.feng@outlook.com>.
ginac/normal.cpp