On Thu, Jun 18, 2009 at 2:30 AM, bonzerpotato<bonzerpot...@hotmail.com> wrote: > > sorry, my typo: L should be K in all instances.
Which version of Sage are you using? Here's what I get on Sage 4.0.1: [mv...@sage sage-4.0.2.rc2]$ sage ---------------------------------------------------------------------- | Sage Version 4.0.1, Release Date: 2009-06-06 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: K.<q>=NumberField(x^2 +2); K Number Field in q with defining polynomial x^2 + 2 sage: A.<c>=K.extension(x^3 +(q^3)*x^2 + (2*q^2)*x - 3*q); A --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/mvngu/.sage/temp/sage.math.washington.edu/24479/_home_mvngu__sage_init_sage_0.py in <module>() /usr/local/sage/local/lib/python2.5/site-packages/sage/structure/element.so in sage.structure.element.RingElement.__mul__ (sage/structure/element.c:9815)() /usr/local/sage/local/lib/python2.5/site-packages/sage/structure/coerce.so in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:6584)() TypeError: unsupported operand parent(s) for '*': 'Number Field in q with defining polynomial x^2 + 2' and 'Symbolic Ring' -- Regards Minh Van Nguyen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---