#12063: EllipticCurve._pari_() should use .pari_curve()
-------------------------------+--------------------------------------------
Reporter: jdemeyer | Owner: cremona
Type: defect | Status: new
Priority: major | Milestone: sage-4.8
Component: elliptic curves | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-------------------------------+--------------------------------------------
{{{
sage: E = EllipticCurve('37a1')
sage: pari(E)
[0, 0, 1, -1, 0, 0, -2, 1, -1, 48, -216, 37, 110592/37,
[0.837565435283323, 0.269594436405445, -1.10715987168877]~,
2.99345864623196, -2.45138938198679*I, 0.942638555913623,
1.32703057887968*I, 7.33813274078958]
sage: E.pari_curve()
---------------------------------------------------------------------------
IndexError Traceback (most recent call
last)
/usr/local/src/sage-4.7.2/<ipython console> in <module>()
/usr/local/src/sage-4.7.2/local/lib/python2.6/site-
packages/sage/schemes/elliptic_curves/ell_rational_field.pyc in
pari_curve(self, prec, factor)
657 # if the PARI curve has already been computed to this
658 # precision, returned the cached copy
--> 659 return self._pari_curve[prec]
660 except AttributeError:
661 # no PARI curves have been computed for this elliptic
curve
/usr/local/src/sage-4.7.2/local/lib/python2.6/site-
packages/sage/libs/pari/gen.so in sage.libs.pari.gen.gen.__getitem__
(sage/libs/pari/gen.c:7145)()
IndexError: index out of bounds
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12063>
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.