Gentlemen, what's wrong with the following code in GiNaC 0.8.3: int main() { using namespace GiNaC; varidx mu(symbol("mu"),4); symbol eps("eps"); ex g = 1 + eps;; cout << g.series(eps==0,5) << endl; ex h = 1 + eps*dirac_gamma(mu); cout << h.series(eps==0,5) << endl; return 0; } The program crashes when it tries to expand h. Is the series member function actually defined somewhere for an object like dirac_gamma ? Stefan
Hi! On Fri, Jun 22, 2001 at 05:51:20PM +0200, Stefan Weinzierl wrote:
Gentlemen, what's wrong with the following code in GiNaC 0.8.3:
[...] ex h = 1 + eps*dirac_gamma(mu); cout << h.series(eps==0,5) << endl; [...]
The program crashes when it tries to expand h.
Someone set up us the bomb... It doesn't actually crash. It throws an exception that informs you that diracgamma doesn't have a derivative. This nonsense has been fixed in the CVS. Bye, Christian -- / Coding on PowerPC and proud of it \/ http://www.uni-mainz.de/~bauec002/
participants (2)
-
Christian Bauer
-
Stefan Weinzierl