]> www.ginac.de Git - ginac.git/blobdiff - ginac/expairseq.cpp
Finalize 1.7.6 release.
[ginac.git] / ginac / expairseq.cpp
index 56f9ad10dff366e16b6545bfc7c4a1e27e51d62b..a1361532fc9994c7c920560f3893bca469aea286 100644 (file)
@@ -565,6 +565,11 @@ ex expairseq::recombine_pair_to_ex(const expair &p) const
 
 bool expairseq::expair_needs_further_processing(epp it)
 {
+       if (is_exactly_a<numeric>(it->rest) &&
+           it->coeff.is_equal(_ex1)) {
+               // the pair {<n>, 1} has yet to be absorbed into overall_coeff
+               return true;
+       }
        return false;
 }