]> www.ginac.de Git - ginac.git/commit
[PATCH 1/2] extract_integer_content: check for rational numbers properly.
authorAlexei Sheplyakov <alexei.sheplyakov@gmail.com>
Fri, 3 Dec 2010 23:35:06 +0000 (00:35 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Fri, 3 Dec 2010 23:35:06 +0000 (00:35 +0100)
commitf0fb303711b4334ce59f7da63bfa7cb49f46265f
treee19c78e1ab5e1e8037f2ad168466a0382f14c462
parent3d09388a8ea144a19949c216fae43ccba92e47aa
[PATCH 1/2] extract_integer_content: check for rational numbers properly.

Commit 3d09388a (titled as `[bugfix] chinrem_gcd: handle polynomials over
rationals properly.') broke extract_integer_content: now it always returns 1.
The check for rational `integer_contnent' introduced by that commit is wrong
(since integers is a subset of rationals). Rewrite the check proprerly.
ginac/polynomial/mgcd.cpp