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

index 815c59306accc437a9234707919af9e855e77fe2..8a0156e4d8627d4e7cf5bcb28e72e1aaa572375f 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());