X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Ftensor.h;h=9c4d2c36137a8a6dd7b049bf3d055b639b7f4398;hp=220b69bcb56e4a493103497160788373f65ada62;hb=539de73dc25de63f2888f8696d73ac3fc83db45f;hpb=094911eb78cacb6f2877a70c9ac74766df58ccea diff --git a/ginac/tensor.h b/ginac/tensor.h index 220b69bc..9c4d2c36 100644 --- a/ginac/tensor.h +++ b/ginac/tensor.h @@ -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; };