]> www.ginac.de Git - ginac.git/commitdiff
Sync to HEAD:
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Mon, 25 Jul 2005 01:04:51 +0000 (01:04 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Mon, 25 Jul 2005 01:04:51 +0000 (01:04 +0000)
power::expand_add: Fix typo.

ginac/power.cpp

index 219fcbee984e64c55cbf9f237fd703cd1098a7c2..cb1d712d295402b12f7004e752bceb59357f20f4 100644 (file)
@@ -704,7 +704,7 @@ ex power::expand_add(const add & a, int n, unsigned options) const
        const size_t m = a.nops();
        exvector result;
        // The number of terms will be the number of combinatorial compositions,
-       // i.e. the number of unordered arrangement of m nonnegative integers
+       // i.e. the number of unordered arrangements of m nonnegative integers
        // which sum up to n.  It is frequently written as C_n(m) and directly
        // related with binomial coefficients:
        result.reserve(binomial(numeric(n+m-1), numeric(m-1)).to_int());