]> www.ginac.de Git - ginac.git/commit
Fix pow(+(...),2).expand().
authorRichard Kreckel <kreckel@ginac.de>
Sat, 18 Jul 2015 21:56:55 +0000 (23:56 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Sat, 18 Jul 2015 21:56:55 +0000 (23:56 +0200)
commitaa1ddc484c2a22a1ab2b38047cbd221f9b37750a
treeaf599e2934f34915303a00bdd456e13dc8a7f7ed
parent3e3c363cab88f5234ee6aaa80ee55463069b30a3
Fix pow(+(...),2).expand().

Due to a failure to expand result terms, expand((sqrt(1+x)+y*sqrt(1+x))^2)
returned 1+y^2+x+x*y^2+2*y*(1+x). Note that 2*y*(1+x) was not expanded
to 2*y+2*y*x.
check/exam_paranoia.cpp
ginac/power.cpp