Dear Jan, I think it is crucial that you would provide the full definition of your derived class. Otherwise it is not possible to track the issue. Best wishes, Vladimir -- Vladimir V. Kisil http://www.maths.leeds.ac.uk/~kisilv/ Book: Geometry of Mobius Transformations http://goo.gl/EaG2Vu Software: Geometry of cycles http://moebinv.sourceforge.net/
On Fri, 13 May 2016 19:16:29 +0200, Jan Rheinländer <jrheinlaender@gmx.de> said:
JR> Hi, I condensed my previous post on subclassing symbol into this JR> little program, which crashes at the last line. Any idea why? Is JR> it a bug or do I just not understand C++ inheritance? JR> #include <iostream> #include <ginac/ginac.h> using JR> namespace std; using namespace GiNaC; JR> int main() { symbol x("x"); x = realsymbol("y"); cout << x JR> << endl; } JR> Jan JR> _______________________________________________ GiNaC-devel JR> mailing list GiNaC-devel@ginac.de JR> https://www.cebix.net/mailman/listinfo/ginac-devel