* Interface to GiNaC's color (SU(3) Lie algebra) objects. */
/*
- * GiNaC Copyright (C) 1999-2006 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
class color : public indexed
{
GINAC_DECLARE_REGISTERED_CLASS(color, indexed)
+public:
+ static const tinfo_static_t return_type_tinfo_static[256];
// other constructors
public:
ex thiscontainer(const exvector & v) const;
ex thiscontainer(std::auto_ptr<exvector> vp) const;
unsigned return_type() const { return return_types::noncommutative; }
- const basic* return_type_tinfo() const { return this; }
+ tinfo_t return_type_tinfo() const { return color::return_type_tinfo_static+representation_label; }
// non-virtual functions in this class
public: