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:20:08 +0000 (00:20 +0200)
commit5432feb4dae4c48f3b652d661aa323f07d20c00b
tree57802b3c110a3e9efa4206c0d49360e34c14e642
parent8fcaff0d29e20d570c2936a27ce110326b76390e
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