On Thursday 28 May 2009, Ryan Hinton wrote: > Martin, > > Thanks for the reply. Did I mention I'm using 3.4.2? When I try > using mon // x instead of mon / x, I get an exception: > > --------------------------------------------------------------------------- > AttributeError Traceback (most recent call > last) > > /home/ryan/.sage/temp/fileserv/16643/_home_ryan__sage_init_sage_0.py > in <module>() > > /home/ryan/sage/local/lib/python2.5/site-packages/sage/rings/ > polynomial/multi_polynomial_element.pyc in __floordiv__(self, right) > 1307 for c,m in self: > 1308 t = c*m > -> 1309 if denC.divides(c) and P.monomial_divides > (denM, m): > 1310 ret += P.monomial_quotient(t, right, > coeff=True) > 1311 return ret > > AttributeError: 'SymbolicConstant' object has no attribute 'divides' > sage:
Uh, sorry I missed the whole SymbolicRing business, do you need it? I guess someone needs to implement divides() for SR then. Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://www.informatik.uni-bremen.de/~malb _jab: martinralbre...@jabber.ccc.de --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---