]> www.ginac.de Git - ginac.git/blobdiff - ginac/polynomial/collect_vargs.cpp
Merge some cosmetic patches.
[ginac.git] / ginac / polynomial / collect_vargs.cpp
index 9ff206ef04e696e53acad880f40066ed2d3d387d..661372d1d43ed580cfb2a9f691a8e510a2672146 100644 (file)
@@ -155,7 +155,7 @@ ex_collect_to_ex(const ex_collect_t& ec, const exvector& vars)
                                "expression has " << exp_vector.size() << " instead");
 
                        if (exp_vector[j] != 0)
-                               tv.push_back(power(vars[j], exp_vector[j]));
+                               tv.push_back(pow(vars[j], exp_vector[j]));
                }
                tv.push_back(ec[i].second);
                ex tmp = dynallocate<mul>(tv);