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 df823d53c56c762072f534c9f24479090162e33a (commit) from ff8b400eb500618644231ed9e6f199c3b0b25135 (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 df823d53c56c762072f534c9f24479090162e33a Author: Alexei Sheplyakov <alexei.sheplyakov@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