-
-
Notifications
You must be signed in to change notification settings - Fork 703
Closed
Description
It seems that PARI laurent series can only be converted to Sage LaurentSeries if the valuation is >= 0.
Simple example:
sage: R = LaurentSeriesRing(QQ, 'q')
sage: R(pari('1/x'))
0 # Very wrong
sage: R(pari('1/x + O(x^20)'))
Traceback (most recent call last)
[...]
PariError: (5)
Example from John Cremona:
sage: E = EllipticCurve('11a1')
sage: R = LaurentSeriesRing(RationalField(),'q')
sage: XY = E.pari_mincurve().elltaniyama()
sage: [R(XY[0]),R(XY[1])]
CC: @jdemeyer
Component: interfaces
Keywords: Laurent series, pari
Author: Jeroen Demeyer
Reviewer: John Cremona
Merged: sage-4.5.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/2508