2013/2/19 Jeroen Demeyer <jdeme...@cage.ugent.be>: > On 2013-02-19 20:54, David Roe wrote: >> 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. > > This is http://trac.sagemath.org/sage_trac/ticket/252
Indeed, and since that isn't being fixed, maybe we should warn the user, as suggested here: http://trac.sagemath.org/sage_trac/ticket/252#comment:7 How about printing a warning when a non-monic or non-integral polynomial is fed to the number field constructor? That saves many people the time needed for debugging "PariError". -- 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.