Opened 14 years ago
Closed 14 years ago
#11 closed defect (fixed)
doctest failure in functions/special.py
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: |
Description
sage -t -optional devel/sage-darcs/sage/functions/special.py*\ * File "special.py", 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/doctest.py", 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/special.py", line 785, in inverse_jacob\
i
return eval(maxima.eval("inverse_jacobi_sn(%s,%s)"%(RR(x),RR(m))))
File "<string>", line 1
^{[[ }
SyntaxError?: invalid syntax
File "special.py", line 758:
sage: inverse_jacobi("sn",0.4707504,1/2)
Exception raised:
Change History (1)
comment:1 Changed 14 years ago by
- Resolution set to fixed
- Status changed from new to closed
Fixed:
The main trick was to use float conversions instead of RR before calling into maxima.