11 May
2016
11 May
'16
9:56 p.m.
Hi, the code is practically the same as in GiNaC symbol.h and symbol.cpp (for symbol subclasses realsymbol / possymbol). I did try using GINAC_DECLARE_REGISTERED_CLASS(ncsymbol, symbol) etc. as well but it makes no difference. And I just tried: If I use GiNaC::realsymbol class instead of my own ncsymbol class the code also crashes. So maybe its a GinaC bug? Am 11.05.2016 um 21:45 schrieb Vladimir V. Kisil:
On Wed, 11 May 2016 21:10:29 +0200, Jan Rheinländer <jrheinlaender@gmx.de> said: JR> Hi, something must be wrong with my subclass, but I don't JR> understand it.
Did you look into section "6.5.1 Hierarchy of algebraic classes" of the tutorial? I think you need to use several macros described there.