[GiNaC-devel] GiNaC 1.3.0

C.Dams at science.ru.nl C.Dams at science.ru.nl
Tue Oct 19 20:47:03 CEST 2004


Dear Jens,

On Tue, 19 Oct 2004, Jens Vollinga wrote:

> GiNaC 1.3.0 is out and available. The changes are:

Congratulations for bringing out this ever nicer piece of software. A
little disadvantage is that the patch described in
http://thep.physik.uni-mainz.de/pipermail/ginac-devel/2004-September/000703.html
was not taken into account. Let's see what happens...

chrisd at gamow:~/c++> more test.C
#include <iostream>
#include <ginac/ginac.h>

using namespace std;
using namespace GiNaC;

int main()
{       symbol a("a"),x("x");
        ex f=integral(x,0,a,x*x);
        cout << f.subs(a==0,subs_options::subs_no_pattern) << endl;
        return 0;
}
chrisd at gamow:~/c++> g++ -o test test.C -lginac
chrisd at gamow:~/c++> ./test
Segmentation fault

Oops.... However, using my patch:

chrisd at gamow:~/c++> ./test
0

Much better.

Best wishes,
Chris




More information about the GiNaC-devel mailing list