[GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, ginac_1-5, updated. release_1-4-0-224-g630e59f
Jens Vollinga
git at ginac.de
Wed Feb 24 22:53:13 CET 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GiNaC -- a C++ library for symbolic computations".
The branch, ginac_1-5 has been updated
via 630e59f66af9fcebb56a442f3aef433b0cc1c0e0 (commit)
from ce67a917331907288c6702b05e191722f4f0441b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 630e59f66af9fcebb56a442f3aef433b0cc1c0e0
Author: Alexei Sheplyakov <alexei.sheplyakov at gmail.com>
Date: Tue Feb 23 12:01:23 2010 +0200
pgcd(): detect relatively prime polynomials properly...
... so pgcd() doesn't loop forever any more. Division test does not handle
relatively prime polynomials (because C = 1 divides any polynomial). So we
should stop interpolation (and return gcd of contents) if we got relatively
prime images (we should do that for efficiency reasons too).
Thanks to Jörg Arndt for a bug report.
(cherry picked from commit 6afbb9793e359cf388462c471ea256a6662b0cd4)
-----------------------------------------------------------------------
Summary of changes:
check/Makefile.am | 3 +++
check/pgcd_relatively_prime_bug.cpp | 31 +++++++++++++++++++++++++++++++
ginac/polynomial/pgcd.cpp | 4 ++--
3 files changed, 36 insertions(+), 2 deletions(-)
create mode 100644 check/pgcd_relatively_prime_bug.cpp
hooks/post-receive
--
GiNaC -- a C++ library for symbolic computations
More information about the GiNaC-devel
mailing list