[GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, master, updated. release_1-4-0-232-ge99d0d5

Richard B. Kreckel git at ginac.de
Mon Oct 4 09:24:07 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, master has been updated
       via  e99d0d58c1bbaa8ee73e4a90a90aa1086f2f813d (commit)
      from  8fa654f2637fa755e890499ece1a7bc498779ea3 (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 e99d0d58c1bbaa8ee73e4a90a90aa1086f2f813d
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.

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

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