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

Commit 2a5c206

Browse files
committed
15024: revert changes not related to ticket
1 parent 6f3fbbc commit 2a5c206

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

src/sage/functions/airy.py

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
from sage.rings.integer_ring import ZZ
5454
from sage.rings.real_double import RDF
5555
from sage.rings.rational import Rational as R
56+
from sage.functions.special import meval
5657
from sage.calculus.functional import derivative
5758

5859

src/sage/functions/jacobi.py

-27
Original file line numberDiff line numberDiff line change
@@ -197,33 +197,6 @@ def __init__(self, kind):
197197

198198
def _eval_(self, x, m):
199199
r"""
200-
EXAMPLES::
201-
202-
sage: jacobi_sn(1,1)
203-
tanh(1)
204-
sage: jacobi_sn(1/2,1/2)
205-
jacobi_sn(1/2, 1/2)
206-
sage: jacobi_sn(1/2,1/2).n()
207-
0.470750473655657
208-
sage: jacobi_sn(1/2,1/2).n(20)
209-
0.47075
210-
sage: jacobi_sn(1/2, 1/2).n(150)
211-
0.47075047365565728333239188829218118473995953
212-
sage: jacobi_sn._evalf_(1/2, 1/2, parent=complex)
213-
(0.4707504736556573+0j)
214-
sage: jacobi_sn._evalf_(1/2, 1/2, parent=RDF)
215-
0.4707504736556573
216-
sage: jacobi_sn._evalf_(1/2, 1/2, parent=CDF)
217-
0.4707504736556573
218-
sage: jacobi_sn(1, I).n()
219-
0.848379519751901 - 0.0742924572771414*I
220-
sage: jacobi_sn._evalf_(1/2, I, parent=CDF)
221-
0.4793467849299404 - 0.017393558099789395*I
222-
sage: jacobi_sn._evalf_(1/2, I, parent=RR) # known bug
223-
Traceback (most recent call last):
224-
...
225-
TypeError: unable to convert...
226-
227200
TESTS:
228201
229202
Check that the simplifications are correct::

0 commit comments

Comments
 (0)