Thank you !
Le mardi 30 octobre 2018 15:33:29 UTC+1, vdelecroix a écrit :
>
> solved at
>
> https://trac.sagemath.org/ticket/26593
>
> Le 26/10/2018 à 16:48, 'Paul Mercat' via sage-devel a écrit :
> > Thank you. So the bug is with the test of equality in QQbar, not with
> > NumberField.
> > D
solved at
https://trac.sagemath.org/ticket/26593
Le 26/10/2018 à 16:48, 'Paul Mercat' via sage-devel a écrit :
Thank you. So the bug is with the test of equality in QQbar, not with
NumberField.
Do you know how to solve this problem with QQbar ?
I tried to look at where is the error, and it loo
Le 26/10/2018 à 16:04, John Cremona a écrit :
On Fri, 26 Oct 2018 at 13:07, 'Paul Mercat' via sage-devel <
sage-devel@googlegroups.com> wrote:
Hi !
I have a strange bug with NumberField: when I do
sage: pi = x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1
sage: b = pi.roots(ring=QQbar)[3][0]
sage: pi = b
Thank you. So the bug is with the test of equality in QQbar, not with
NumberField.
Do you know how to solve this problem with QQbar ?
I tried to look at where is the error, and it looks like there is an
infinite loop:
/Users/mercatp/sage-8.2/local/lib/python2.7/site-packages/sage/rings/polynomi
On Fri, 26 Oct 2018 at 13:07, 'Paul Mercat' via sage-devel <
sage-devel@googlegroups.com> wrote:
> Hi !
>
> I have a strange bug with NumberField: when I do
>
> sage: pi = x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1
> sage: b = pi.roots(ring=QQbar)[3][0]
> sage: pi = b.minpoly()
> sage: K = NumberField(pi
Hi !
I have a strange bug with NumberField: when I do
sage: pi = x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1
sage: b = pi.roots(ring=QQbar)[3][0]
sage: pi = b.minpoly()
sage: K = NumberField(pi, 'b', embedding=b)
it works well. But if I execute it a second time, then it never terminates!
Do you have a e