#11604: PARI qfminim bug only when called from Sage
--------------------------+-------------------------------------------------
Reporter: mmasdeu | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.2
Component: interfaces | Keywords: pari, qfminim, ZM_lll, large matrix
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
--------------------------+-------------------------------------------------
When calling the function
pari('qfminim(%s,2,0)'%(A._pari_()))
with certain matrix, I get the following:
{{{
sage: A=Matrix(ZZ,4,4,[32982266684193100, 1368614777139719,
224591013270052693 , 276460184982223238,1368614777139719,
56791380087354, 9319512049770279, 11471848267545007,224591013270052693 ,
9319512049770279 ,1529340971891522140,
1882541434053596358,276460184982223238 , 11471848267545007,
1882541434053596358, 2317313350044091414])
sage: pari('qfminim(%s,2,0)'%(A._pari_()))
*** at top-level: qfminim([32982266684
*** ^--------------------
*** qfminim: bug in ZM_lll, please report
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call
last)
/home/float/<ipython console> in <module>()
/home/float/sage/local/lib/python2.6/site-packages/sage/libs/pari/gen.so
in sage.libs.pari.gen.PariInstance.__call__ (sage/libs/pari/gen.c:43438)()
RuntimeError: evaluating PARI string
}}}
I have found other examples of (also large) matrices where pari fails
similarly. I have tried this example with standalone pari (both stable and
developement versions) and it returns with no problem, so I guess it is a
problem with the interface Sage-PARI.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11604>
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.