primpart_content: correctly handle monomials.
authorAlexei Sheplyakov <alexei.sheplyakov@gmail.com>
Mon, 17 May 2010 22:20:08 +0000 (00:20 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Mon, 17 May 2010 22:44:35 +0000 (00:44 +0200)
commitc13d5e0ed2ce6223bc6c4340bb00daf2e24ea923
tree767abb0767a177c52588ffdf5a0296068790d9b4
parentf28f24cf1228f0fa9cb0889d87a3f4039587ff92
primpart_content: correctly handle monomials.

Impact: fixes (rare) incorrect gcd calculation and (potential) segfault.

Thanks to Aless Lasaruk for a bug report.
ginac/polynomial/collect_vargs.cpp
ginac/polynomial/primpart_content.cpp