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

Richard B. Kreckel git at ginac.de
Mon Jul 5 09:17:21 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  c84dc83799cec33b71126e624cd914125d8d2a43 (commit)
      from  5fb83676210401cc08fae91831514bac44502209 (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 c84dc83799cec33b71126e624cd914125d8d2a43
Author: Alexei Sheplyakov <alexei.sheplyakov at gmail.com>
Date:   Mon Jul 5 09:15:20 2010 +0200

    Parser: handle abbreviations as advertized in the manual.
    
    The following example from the tutorial
    
    GiNaC::symbol x, y;
    GiNaC::symtab table;
    table["x"] = x+log(y)+1;
    GiNaC::parser reader(table);
    GiNaC::ex e = reader("5*x3 - x2");
    
    fails with the following exception:
    
    terminate called after throwing an instance of 'std::invalid_argument'
    what(): find_or_insert_symbol: name "x" does not correspond to a symbol
    
    Remove silly checks from find_or_insert_symbol, and fix its return value
    (should be ex, not symbol).

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

Summary of changes:
 ginac/parser/parse_context.cpp |   13 +++----------
 ginac/parser/parse_context.h   |    4 ++--
 2 files changed, 5 insertions(+), 12 deletions(-)


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


More information about the GiNaC-devel mailing list