#5396: Wrapping lcalc library
-----------------------------+----------------------------------------------
Reporter: rishi | Owner: Rishi
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.3.1
Component: number theory | Keywords: lcalc
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
-----------------------------+----------------------------------------------
Changes (by cremona):
* status: needs_review => needs_work
Comment:
Here's what I did: made a fresh clone of 4.3.rc0, installed the spkg
(sage -i lcalc-1.23.spkg), applied the latch, rebuilt. Then sage -t gives
this:
{{{
j...@ubuntu%sage -t sage-4.3.rc0/devel/sage-lcalc/sage/libs/lcalc/
sage -t "devel/sage-lcalc/sage/libs/lcalc/__init__.py"
[0.1 s]
sage -t "devel/sage-lcalc/sage/libs/lcalc/lcalc_Lfunction.pyx"
Exception NotImplementedError in
'sage.libs.lcalc.lcalc_Lfunction.Lfunction.__init_fun' ignored
-----------------------------------------------
Name of L_function:
number of dirichlet coefficients = 5
coefficients are periodic
b[1] = 1
b[2] = -1
b[3] = -1
b[4] = 1
b[5] = 0
Q = 1.26156626101
OMEGA = (1,4.96506830649e-17)
a = 1 (the quasi degree)
gamma[1] =0.5 lambda[1] =(0,0)
number of poles (of the completed L function) = 0
-----------------------------------------------
-----------------------------------------------
Name of L_function:
number of dirichlet coefficients = 5
coefficients are periodic
b[1] = (1,0)
b[2] = (6.12323399574e-17,1)
b[3] = (-6.12323399574e-17,-1)
b[4] = (-1,0)
b[5] = (0,0)
Q = 1.26156626101
OMEGA = (0.850650808352,0.525731112119)
a = 1 (the quasi degree)
gamma[1] =0.5 lambda[1] =(0.5,0)
number of poles (of the completed L function) = 0
-----------------------------------------------
**********************************************************************
File "/home/john/sage-4.3.rc0/devel/sage-
lcalc/sage/libs/lcalc/lcalc_Lfunction.pyx", line 780:
sage: L.value(0.5, derivative=1)
Expected:
0.305999824716...
Got:
0.305999723948232
-----------------------------------------------
Name of L_function:
number of dirichlet coefficients = 5
coefficients are periodic
b[1] = 1
b[2] = -1
b[3] = -1
b[4] = 1
b[5] = 0
Q = 1.26156626101
OMEGA = (1,4.96506830649e-17)
a = 1 (the quasi degree)
gamma[1] =0.5 lambda[1] =(0,0)
number of poles (of the completed L function) = 0
-----------------------------------------------
**********************************************************************
1 items had failures:
1 of 7 in __main__.example_24
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/john/.sage//tmp/.doctest_lcalc_Lfunction.py
[2.2 s]
----------------------------------------------------------------------
The following tests failed:
sage -t "devel/sage-lcalc/sage/libs/lcalc/lcalc_Lfunction.pyx"
Total time for all tests: 2.2 seconds
}}}
I cannot really tell what is going on here, sorry.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5396#comment:26>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.