13 May
2016
13 May
'16
7:16 p.m.
Hi, I condensed my previous post on subclassing symbol into this little program, which crashes at the last line. Any idea why? Is it a bug or do I just not understand C++ inheritance? #include <iostream> #include <ginac/ginac.h> using namespace std; using namespace GiNaC; int main() { symbol x("x"); x = realsymbol("y"); cout << x << endl; } Jan