Skip to content

Commit e6c75a6

Browse files
committed
src/sage/interfaces/maxima_lib.py: disable one abs_integrate test
The wrong answer is returned unless you have Maxima 5.48, which is not widespread enough for us to require it yet.
1 parent 1a69eea commit e6c75a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sage/interfaces/maxima_lib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -771,9 +771,10 @@ def sr_integral(self, *args):
771771
772772
Several examples where ``abs_integrate`` previously lead to
773773
incorrect results. This was once reported to be divergent in
774-
:issue:`13733`::
774+
:issue:`13733`, and only in maxima-5.48 does it give the
775+
correct answer::
775776
776-
sage: # long time
777+
sage: # long time, not tested until maxima-5.48 is widespread
777778
sage: integral(log(cot(x)-1), x, 0, pi/4, algorithm="maxima")
778779
catalan + 1/2*I*dilog(1/2*I + 1/2) - 1/2*I*dilog(-1/2*I + 1/2)
779780
@@ -796,7 +797,6 @@ def sr_integral(self, *args):
796797
797798
sage: integrate(abs(cos(x)), x, 0, pi, algorithm="maxima")
798799
2
799-
800800
"""
801801
try:
802802
return max_to_sr(maxima_eval(([max_integrate],

0 commit comments

Comments
 (0)