[GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, ginac_1-5, updated. release_1-4-0-254-gd41f753

Richard B. Kreckel git at ginac.de
Tue Nov 23 21:54:16 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  d41f7533018d9f9444c98466432e4d84deedaa04 (commit)
      from  1d73fed17debbc88819dc7f84a4a2e608d8eb978 (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 d41f7533018d9f9444c98466432e4d84deedaa04
Author: Alexei Sheplyakov <alexei.sheplyakov at gmail.com>
Date:   Tue Nov 23 17:45:52 2010 +0100

    [bugfix] chinrem_gcd: handle polynomials over rationals properly.
    
    * extract_integer_content():
      integer_content() can also return a rational number, e.g if the expression
      is a polynomial over rationals (in this case expr/content is polynomial
      over integers with integer content being 1). Therefore check if
      integer_content() is really an integer (and if it's not just return 1,
      GCD for polynomials over a field is defined up to arbitrary element of
      the field).
    
      This fixes possible segfault when computing GCD of polynomials over
      rationals (this is not theoretical, see the added test case).
    
    Thanks to Ernst Moritz Hahn for reporting this bug.
    (cherry picked from commit 3d09388a8ea144a19949c216fae43ccba92e47aa)

-----------------------------------------------------------------------

Summary of changes:
 check/bugme_chinrem_gcd.cpp |   18 ++++++++++++++++--
 ginac/polynomial/mgcd.cpp   |   10 ++++++++++
 2 files changed, 26 insertions(+), 2 deletions(-)


hooks/post-receive
--
GiNaC -- a C++ library for symbolic computations


More information about the GiNaC-devel mailing list