Hi,
I created a ticket #6036 for this bug.
Kwankyu
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at
Hi,
I traced this bug, and found that
sage: B=QQ[x]
sage: print B({0:1,1:2})
sage: print B({(0,):1,(1,):2})
2*x + 1
2*x + 1
sage: B=GF(5)[x]
sage: print B({0:1,1:2})
sage: print B({(0,):1,(1,):2})
2*x + 1
Traceback (most recent call last):
File "", line 1, in
File "/home/kwankyu/.sage/sage_
On 8-May-09, at 2:23 AM, Kwankyu wrote:
>
> Hi,
>
> This works:
>
> sage: R.=PolynomialRing(QQ,2)
> sage: a=x^2+x*y+y
> sage: a.polynomial(x)
> x^2 + y*x + y
>
> But this does not work:
>
> sage: R.=PolynomialRing(GF(5),2)
> sage: a=x^2+x*y+y
> sage: a.polynomial(x)
> Traceback (most recent call
On May 8, 6:27 pm, Minh Nguyen wrote:
> On Fri, May 8, 2009 at 9:23 AM, Kwankyu wrote:
>
> > Hi,
>
> > This works:
>
> > sage: R.=PolynomialRing(QQ,2)
> > sage: a=x^2+x*y+y
> > sage: a.polynomial(x)
> > x^2 + y*x + y
>
> > But this does not work:
>
> > sage: R.=PolynomialRing(GF(5),2)
> > sage
On Fri, May 8, 2009 at 9:23 AM, Kwankyu wrote:
>
> Hi,
>
> This works:
>
> sage: R.=PolynomialRing(QQ,2)
> sage: a=x^2+x*y+y
> sage: a.polynomial(x)
> x^2 + y*x + y
>
> But this does not work:
>
> sage: R.=PolynomialRing(GF(5),2)
> sage: a=x^2+x*y+y
> sage: a.polynomial(x)
> Traceback (most recen