]> www.ginac.de Git - ginac.git/blobdiff - ginac/color.h
- added get_representation_label()
[ginac.git] / ginac / color.h
index 04d7c5d9e88c106869d37c2e025c3b1fe5e7faa9..9a89387cbadcce0bca0c838a8ed30f05c245b893 100644 (file)
@@ -57,6 +57,10 @@ protected:
        unsigned return_type(void) const { return return_types::noncommutative; }
        unsigned return_type_tinfo(void) const { return TINFO_color + representation_label; }
 
+       // non-virtual functions in this class
+public:
+       unsigned char get_representation_label(void) const {return representation_label;}
+
        // member variables
 private:
        unsigned char representation_label; /**< Representation label to distinguish independent color matrices coming from separated fermion lines */