Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 5779423

Browse files
committed
17505: fix doctests
1 parent d420ec4 commit 5779423

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/functions/other.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2615,7 +2615,7 @@ def _print_latex_(self, x, var, a, b):
26152615
26162616
sage: from sage.functions.other import symbolic_sum as ssum
26172617
sage: latex(ssum(x^2, x, 1, 10))
2618-
\sum_{x=1}^{10} x^2
2618+
{\sum_{x=1}^{10} x^2}
26192619
"""
26202620
return r"{{\sum_{{{}={}}}^{{{}}} {}}}".format(var, a, b, x)
26212621

@@ -2662,7 +2662,7 @@ def _print_latex_(self, x, var, a, b):
26622662
26632663
sage: from sage.functions.other import symbolic_product as sprod
26642664
sage: latex(sprod(x^2, x, 1, 10))
2665-
\prod_{x=1}^{10} x^2
2665+
{\prod_{x=1}^{10} x^2}
26662666
"""
26672667
return r"{{\prod_{{{}={}}}^{{{}}} {}}}".format(var, a, b, x)
26682668

0 commit comments

Comments
 (0)