In working with polynomials R.<x,y>=PolynomialRing(ZZ) F=x^2*y-2*x^2-x print F.coefficients()[0].parent() print F.coefficient({x:2,y:1}).parent()
The first returns the base ring (ZZ) and the second the multivariable polynomial ring. I can definitely see that since you could call F.coefficient({x:2}) which would in fact be a polynomial, hence this behavior is expected, but it wasn't what I expected. Again probably expected behavior, but I thought worth noticing. Ben -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org