X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fadd.cpp;h=6c6a163831a9e3a0e6856e6144f288fc9dedfc04;hp=0c22465a10021e54828d149bdda3502ee1e3e25b;hb=094911eb78cacb6f2877a70c9ac74766df58ccea;hpb=ad5dd77c6b19c4c7b8cda7f95584f02c01d17896 diff --git a/ginac/add.cpp b/ginac/add.cpp index 0c22465a..6c6a1638 100644 --- a/ginac/add.cpp +++ b/ginac/add.cpp @@ -354,17 +354,6 @@ ex add::eval(int level) const 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) {