]> www.ginac.de Git - ginac.git/blobdiff - ginac/expairseq.cpp
* Ctors of class numeric are not explicit any more. All built-in callers for
[ginac.git] / ginac / expairseq.cpp
index f49fefcf208495ddf3a9d9d78f8a744bebf36092..87b19e14231f3c6de7965ad23da1366e817273b1 100644 (file)
@@ -1082,9 +1082,9 @@ void expairseq::combine_same_terms_sorted_seq(void)
                // possible from then on the sequence has changed and must be compacted
                bool must_copy = false;
                while (itin2!=last) {
-                       if ((*itin1).rest.compare(itin2->rest)==0) {
-                               (*itin1).coeff = ex_to<numeric>(itin1->coeff).
-                                                add_dyn(ex_to<numeric>(itin2->coeff));
+                       if (itin1->rest.compare(itin2->rest)==0) {
+                               itin1->coeff = ex_to<numeric>(itin1->coeff).
+                                              add_dyn(ex_to<numeric>(itin2->coeff));
                                if (expair_needs_further_processing(itin1))
                                        needs_further_processing = true;
                                must_copy = true;