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

Jens Vollinga jensv at nikhef.nl
Fri Jul 31 14:43:38 CEST 2009


Hi Alexei,

Alexei Sheplyakov schrieb:
> I'm afraid this code is a bit dangerous.
> 
> Suppose reader->second corresponds to the serial of some (GiNaC::)function
> (and not a pointer to a C++ function). ret = GiNaC::function(...) calls
> eval(), and it might throw an exception. We catch the exception and
> dereference ->second => oops...

you are right. I fixed it now. Thanks!

Regards,
Jens



More information about the GiNaC-devel mailing list