Skip to content

Commit 2be5a18

Browse files
committed
src/sage/symbolic/integration/integral.py: fix giac integral output
Now that libgiac is being used for "giac" integrals, one test is printing out "No checks were made for singular points of antiderivative -1/sageVARx for definite integration in [1,+infinity]" where previously the test was silent. We now "..." the junk away.
1 parent 058e926 commit 2be5a18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage/symbolic/integration/integral.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,9 @@ def __init__(self):
212212
sage: ex = 1/max_symbolic(x, 1)**2
213213
sage: integral(ex, x, 0, 2, algorithm='giac')
214214
3/2
215-
sage: integral(1/max_symbolic(x, 1)**2, x, 0, oo, algorithm='giac')
215+
sage: result = integral(1/max_symbolic(x, 1)**2, x, 0, oo, algorithm='giac')
216+
...
217+
sage: result
216218
2
217219
"""
218220
# The automatic evaluation routine will try these integrators

0 commit comments

Comments
 (0)