From a921710a93d005286c9617d37f889d0ec2f600f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 11 Dec 2023 15:19:37 -0300 Subject: [PATCH] Fix doctest for giac 1.9.0-73 --- src/sage/calculus/calculus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sage/calculus/calculus.py b/src/sage/calculus/calculus.py index dfaafb4353f..8d62ade24c8 100644 --- a/src/sage/calculus/calculus.py +++ b/src/sage/calculus/calculus.py @@ -568,8 +568,8 @@ def symbolic_sum(expression, v, a, b, algorithm='maxima', hold=False): An example of this summation with Giac:: - sage: symbolic_sum(1/(1+k^2), k, -oo, oo, algorithm='giac') - (pi*e^(2*pi) - pi*e^(-2*pi))/(e^(2*pi) + e^(-2*pi) - 2) + sage: symbolic_sum(1/(1+k^2), k, -oo, oo, algorithm='giac').factor() + pi*(e^(2*pi) + 1)/((e^pi + 1)*(e^pi - 1)) The same summation is solved by SymPy::