From 0c8ec5e01cc639bb431bfe66da8a4ee720ab3e9e Mon Sep 17 00:00:00 2001 From: Stefan Weinzierl Date: Thu, 9 Sep 2021 16:21:45 +0200 Subject: [PATCH] Minor bug fix for the class modular_form_kernel: Ensure that the series-method includes an order term. --- ginac/integration_kernel.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.47.0