This works. Note the extra [] is not present: sage: P.<y> = QQ['x'] sage: y.divides(y) True
On Monday, March 12, 2012 6:46:02 PM UTC+8, Simon King wrote: > > Hi! > > Working on a very old bit-rotten patch of mine at #8992, the following > turns out to be a problem in one of the examples: > > sage: P.<y> = QQ['x'][] > sage: y.divides(y) > --------------------------------------------------------------------------- > > AttributeError Traceback (most recent call > last) > ... > AttributeError: > 'sage.rings.polynomial.polynomial_element.Polynomial_generic_dense' > object has no attribute 'quo_rem' > > 22 months ago, this has not been a problem for my original patch. So, > I wonder: Is it a new bug? Or has it actually never worked? > > Cheers, > Simon > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org