Skip to content

Commit a921710

Browse files
committed
Fix doctest for giac 1.9.0-73
1 parent ab24b1c commit a921710

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/calculus/calculus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,8 @@ def symbolic_sum(expression, v, a, b, algorithm='maxima', hold=False):
568568
569569
An example of this summation with Giac::
570570
571-
sage: symbolic_sum(1/(1+k^2), k, -oo, oo, algorithm='giac')
572-
(pi*e^(2*pi) - pi*e^(-2*pi))/(e^(2*pi) + e^(-2*pi) - 2)
571+
sage: symbolic_sum(1/(1+k^2), k, -oo, oo, algorithm='giac').factor()
572+
pi*(e^(2*pi) + 1)/((e^pi + 1)*(e^pi - 1))
573573
574574
The same summation is solved by SymPy::
575575

0 commit comments

Comments
 (0)