I'm fairly sure the problem is that the defining polynomial for the relative extension is not monic. One solution would be to use an equivalent monic polynomial and keep track of a simple transformation allowing one to translate between the internal representation of elements on the one hand and print representations and conversions from polynomials on the other. David
On Tue, Feb 19, 2013 at 10:48 AM, Charles Bouillaguet < charles.bouillag...@gmail.com> wrote: > Hi all, > > Adrien Poteaux reported this bug ( > http://trac.sagemath.org/sage_trac/ticket/14146) to me. When you create a > number field (possibly on top of another number field), what are the > restrictions on the defining polynomial ? Currently, strange PARI error > occur, that are quite cryptic. Apparently, > > At the very least, these restrictions (if they actually exist) should be > (better) documented... > > Thanks, > --- > Charles Bouillaguet > http://www.lifl.fr/~bouillaguet/ > > > > -- > 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 http://groups.google.com/group/sage-devel?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.