Hi John, sorry, somehow I missed your posting.
Le lundi 5 novembre 2018 18:55:25 UTC+1, john_perry_usm a écrit : > > This code works in Sage 8.3, but not in Sage 8.4. > > P.<x,y,z> = PolynomialRing(QQ) > I = Ideal([x^3, x*y^2, y^4, x^2*y*z, y^3*z, x^2*z^2, x*y*z^2, x*z^3]) > I.hilbert_polynomial() > > I haven't yet dug into the cause, but the error it reports is, > > AttributeError: 'sage.rings.rational.Rational' object has no > attribute 'leading_coefficient' I am not sure how that has happened but apparently a rational number is created where in fact a polynomial of degree zero should have been created. I am confident that the issue can easily be fixed (see #27483). Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.