Hello,
the following program dumps core here.
#include <iostream>
#include <ginac/ginac.h>
using namespace std;
using namespace GiNaC;
int main()
{
symbol x("x");
ex e = (ex(1)/x).numer_denom();
e = e[0];
cerr << e;
}
But it outputs 1 as it should if I replace the last two lines with
cerr << e[0];
I don't even understand the difference!
Thanks for your time,
ralf