I've fixed both of these already. I'm mainly working on getting it to 100% doctests.
--Mike On Thu, Mar 27, 2008 at 7:59 PM, Daniel Bump <[EMAIL PROTECTED]> wrote: > > > > I'll try to get this all taken care of tonight. > > Here's another bug. The 1 is not getting coerced into the ring. I > don't know how to fix it. > > Dan > > sage: R.<x,y>=LaurentPolynomialRing(QQ,2) > sage: 1+x > --------------------------------------------------------------------------- > <type 'exceptions.TypeError'> Traceback (most recent call last) > > /home/bump/<ipython console> in <module>() > > /home/bump/element.pyx in sage.structure.element.ModuleElement.__add__() > > /home/bump/coerce.pyx in > sage.structure.coerce.CoercionModel_cache_maps.bin_op_c() > > <type 'exceptions.TypeError'>: unsupported operand parent(s) for '+': > 'Integer Ring' and 'Multivariate Laurent Polynomial Ring in x ,y over > Rational Field' > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
