]> www.ginac.de Git - ginac.git/blobdiff - ginac/add.cpp
- revamped indexed objects
[ginac.git] / ginac / add.cpp
index 0c22465a10021e54828d149bdda3502ee1e3e25b..6c6a163831a9e3a0e6856e6144f288fc9dedfc04 100644 (file)
@@ -354,17 +354,6 @@ ex add::eval(int level) const
        return this->hold();
 }
 
        return this->hold();
 }
 
-exvector add::get_indices(void) const
-{
-       // FIXME: all terms in the sum should have the same indices (compatible
-       // tensors) however this is not checked, since there is no function yet
-       // which compares indices (idxvector can be unsorted)
-       if (seq.size()==0) {
-               return exvector();
-       }
-       return (seq.begin())->rest.get_indices();
-}    
-
 ex add::simplify_ncmul(const exvector & v) const
 {
        if (seq.size()==0) {
 ex add::simplify_ncmul(const exvector & v) const
 {
        if (seq.size()==0) {