]> www.ginac.de Git - ginac.git/blobdiff - ginac/normal.cpp
Make add::eval(), mul::eval() work without compromise.
[ginac.git] / ginac / normal.cpp
index ccf11e8d589ed83ec95813f7881b7b259fead6c4..b2e8d109013951385b17e551d31d405542282679 100644 (file)
@@ -2555,7 +2555,7 @@ ex expairseq::to_rational(exmap & repl) const
        if (oc.info(info_flags::numeric))
                return thisexpairseq(std::move(s), overall_coeff);
        else
-               s.push_back(combine_ex_with_coeff_to_pair(oc, _ex1));
+               s.push_back(expair(oc, _ex1));
        return thisexpairseq(std::move(s), default_overall_coeff());
 }
 
@@ -2571,7 +2571,7 @@ ex expairseq::to_polynomial(exmap & repl) const
        if (oc.info(info_flags::numeric))
                return thisexpairseq(std::move(s), overall_coeff);
        else
-               s.push_back(combine_ex_with_coeff_to_pair(oc, _ex1));
+               s.push_back(expair(oc, _ex1));
        return thisexpairseq(std::move(s), default_overall_coeff());
 }