From: Stefan Weinzierl Date: Thu, 9 Sep 2021 14:21:45 +0000 (+0200) Subject: Minor bug fix for the class modular_form_kernel: Ensure that the series-method includ... X-Git-Tag: release_1-8-2~3 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=0c8ec5e01cc639bb431bfe66da8a4ee720ab3e9e;ds=sidebyside Minor bug fix for the class modular_form_kernel: Ensure that the series-method includes an order term. --- diff --git a/ginac/integration_kernel.cpp b/ginac/integration_kernel.cpp index 5e440519..797301a2 100644 --- a/ginac/integration_kernel.cpp +++ b/ginac/integration_kernel.cpp @@ -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; }