Is this a bug?

sage: version()
'Sage Version 3.4.2, Release Date: 2009-05-05'
sage: S.<t> = PolynomialRing(Integers(14641))
sage: f = 1 + 9581*t
sage: R = PolynomialRing(Integers(1331), "t")
sage: ff = f.change_ring(R)
sage: ff
264*t + 1
sage: type(f)
<type
'sage.rings.polynomial.polynomial_zmod_flint.Polynomial_zmod_flint'>
sage: type(ff)
<type
'sage.rings.polynomial.polynomial_element.Polynomial_generic_dense'>
sage: ff[0]
264*t + 1
sage: f[0]
1
sage: type(ff[0])
<type
'sage.rings.polynomial.polynomial_zmod_flint.Polynomial_zmod_flint'>

(This came up in relation to trac #5817)

--~--~---------~--~----~------------~-------~--~----~
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 http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to