- lcm_of_coefficients_denominators(1/2+x^10) returned 1024 instead of 2 and
[ginac.git] / ginac / tensor.h
index 220b69bcb56e4a493103497160788373f65ada62..9c4d2c36137a8a6dd7b049bf3d055b639b7f4398 100644 (file)
@@ -55,7 +55,7 @@ class tensdelta : public tensor
 public:
        void print(std::ostream & os, unsigned upper_precedence=0) const;
        ex eval_indexed(const basic & i) const;
-       bool contract_with(ex & self, ex & other) const;
+       bool contract_with(exvector::iterator self, exvector::iterator other, exvector & v) const;
 };
 
 
@@ -70,7 +70,7 @@ class tensmetric : public tensor
 public:
        void print(std::ostream & os, unsigned upper_precedence=0) const;
        ex eval_indexed(const basic & i) const;
-       bool contract_with(ex & self, ex & other) const;
+       bool contract_with(exvector::iterator self, exvector::iterator other, exvector & v) const;
 };