]> www.ginac.de Git - ginac.git/blobdiff - ginac/mul.h
replaced "precedence" static member variable by virtual precedence() function
[ginac.git] / ginac / mul.h
index 2d3d240f459307d3016cea9567ce7f5763cae560..d5a73ccf27ea1f188ff6e347a37fe07a768ba9f7 100644 (file)
@@ -48,6 +48,7 @@ public:
        // functions overriding virtual functions from bases classes
 public:
        void print(const print_context & c, unsigned level = 0) const;
+       unsigned precedence(void) const {return 50;}
        bool info(unsigned inf) const;
        int degree(const ex & s) const;
        int ldegree(const ex & s) const;
@@ -85,11 +86,6 @@ protected:
        // non-virtual functions in this class
 protected:
        epvector * expandchildren(unsigned options) const;
-       
-// member variables
-       
-protected:
-       static unsigned precedence;
 };
 
 // utility functions