Skip to content

Commit

Permalink
Fix doctest for giac 1.9.0-73
Browse files Browse the repository at this point in the history
  • Loading branch information
tornaria committed Dec 11, 2023
1 parent ab24b1c commit a921710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/calculus/calculus.py
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit a921710

Please sign in to comment.