]> www.ginac.de Git - ginac.git/blobdiff - ginac/pseries.cpp
documentation update
[ginac.git] / ginac / pseries.cpp
index c35e2e47b3e6187d6f113c3a4d0faa6c448978a1..ffb2cfb98125d658cbaeb1be9a2b13e60aeab34c 100644 (file)
@@ -348,7 +348,7 @@ ex pseries::coeff(const ex &s, int n) const
 }
 
 /** Does nothing. */
-ex pseries::collect(const ex &s) const
+ex pseries::collect(const ex &s, bool distributed) const
 {
        return *this;
 }
@@ -490,7 +490,7 @@ ex basic::series(const relational & r, int order, unsigned options) const
        const symbol &s = static_cast<symbol &>(*r.lhs().bp);
        
        if (!coeff.is_zero())
-               seq.push_back(expair(coeff, numeric(0)));
+               seq.push_back(expair(coeff, _ex0()));
        
        int n;
        for (n=1; n<order; ++n) {