]> www.ginac.de Git - ginac.git/blobdiff - ginac/integration_kernel.cpp
Minor bug fix for the class modular_form_kernel: Ensure that the series-method includ...
[ginac.git] / ginac / integration_kernel.cpp
index 5e4405190cf20cb4bc4c25a8b6b170875b453374..797301a22d358fd9f2e36c8ed61603faf0c966cd 100644 (file)
@@ -1963,6 +1963,8 @@ ex modular_form_kernel::series(const relational & r, int order, unsigned options
        subs_q_expansion do_subs_q_expansion(qbar, order);
 
        ex res = do_subs_q_expansion(P).series(qbar,order);
+       res += Order(pow(qbar,order));
+       res = res.series(qbar,order);
 
        return res;
 }