fixed compilation problem after the registered_class_options change
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Fri, 25 Jul 2003 20:05:09 +0000 (20:05 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Fri, 25 Jul 2003 20:05:09 +0000 (20:05 +0000)
ginac/structure.h

index e38d457..1c28d75 100644 (file)
@@ -116,7 +116,7 @@ class structure : public basic, public ComparisonPolicy<T> {
        GINAC_DECLARE_REGISTERED_CLASS(structure, basic)
 
        // helpers
-       static unsigned get_tinfo() { return reg_info.options.tinfo_key; }
+       static unsigned get_tinfo() { return reg_info.options.get_id(); }
        static const char *get_class_name() { return "structure"; }
 
        // constructors