]> www.ginac.de Git - ginac.git/blobdiff - ginac/expairseq.h
replaced "precedence" static member variable by virtual precedence() function
[ginac.git] / ginac / expairseq.h
index e4e34653f33ff273774aa91937a5fb1cbdda5a0c..fac36eec47072e41080e68b7559818b8517ba061 100644 (file)
@@ -88,6 +88,7 @@ public:
 public:
        basic * duplicate() const;
        void print(const print_context & c, unsigned level = 0) const;
+       unsigned precedence(void) const {return 10;}
        bool info(unsigned inf) const;
        unsigned nops() const;
        ex op(int i) const;
@@ -174,7 +175,6 @@ protected:
 protected:
        epvector seq;
        ex overall_coeff;
-       static unsigned precedence;
 #if EXPAIRSEQ_USE_HASHTAB
        epplistvector hashtab;
        unsigned hashtabsize;