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

Richard B. Kreckel git at ginac.de
Mon Oct 4 09:24:06 CEST 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  c40c54f17b68f79ee42833adb3364970385e2caa (commit)
      from  89d5356b4aa33cb4481575f9453f36c3404b015b (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 c40c54f17b68f79ee42833adb3364970385e2caa
Author: Alexei Sheplyakov <alexei.sheplyakov at gmail.com>
Date:   Mon Oct 4 09:21:05 2010 +0200

    Avoid infinite loop when unarchiving realsymbol and possymbol.
    
    symbol::read_archive(): explicitly set status_flags::evaluated (and
    status_flags::expanded) on object being unarchived. These flags get
    reset by basic::operator=(const basic&) for realsymbol and possymbol,
    and nothing sets (except symbol ctor), so automatic evaluation never
    terminates (or rather, terminates due to a stack overflow). Therefore
    it's necessary need to set status_flags::evaluated explicitly.
    
    Thanks to Markus Fröb for a bugreport and a test case.
    (cherry picked from commit e99d0d58c1bbaa8ee73e4a90a90aa1086f2f813d)

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

Summary of changes:
 ginac/symbol.cpp |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)


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


More information about the GiNaC-devel mailing list