bug: get_precedence() is not working

Pearu Peterson pearu at cens.ioc.ee
Sun May 20 10:54:51 CEST 2001


On Sat, 19 May 2001, Christian Bauer wrote:

> Hi!
> 
> On Sat, May 19, 2001 at 02:05:40AM +0200, Pearu Peterson wrote:
> > Sorry to bother again but it does not. Namely, some classes, such as
> > symbol, does not use GNAC_DECLARE_REGISTERED_CLASS, and as a consequence
> > one cannot use symbol::get_precedence() (which is silly, of cource). 
> 
> I've now replaced the static member variable by a virtual function
> precedence(), hopefully bringing this to an end.

Thanks! It now works perfectly.

Regards,
	Pearu




More information about the GiNaC-devel mailing list