Opened 14 years ago

Closed 14 years ago

#11 closed defect (fixed)

doctest failure in functions/

Reported by: was Owned by: somebody
Priority: major Milestone:
Component: basic arithmetic Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:


sage -t -optional devel/sage-darcs/sage/functions/*\ * File "", line 756:

sage: inverse_jacobi("sn",0.47,1/2)

Exception raised:

Traceback (most recent call last):

File "/home/was/sage/local/lib/python2.4/", line 1243, in run

compileflags, 1) in test.globs

File "<doctest main.example13[1]>", line 1, in ?

inverse_jacobi("sn",RealNumber?('0.47'),Integer(1)/Integer(2))###line 756:

sage: inverse_jacobi("sn",0.47,1/2)

File "/home/was/sage/local/lib/python2.4/site-packages/sage/functions/", line 785, in inverse_jacob\


return eval(maxima.eval("inverse_jacobi_sn(%s,%s)"%(RR(x),RR(m))))

File "<string>", line 1


SyntaxError?: invalid syntax

File "", line 758:

sage: inverse_jacobi("sn",0.4707504,1/2)

Exception raised:

Change History (1)

comment:1 Changed 14 years ago by was

  • Resolution set to fixed
  • Status changed from new to closed


The main trick was to use float conversions instead of RR before calling into maxima.

Note: See TracTickets for help on using tickets.