-
-
Notifications
You must be signed in to change notification settings - Fork 660
Closed
Description
Implement a basic (but better than nothing) conversion of elements of number fields embedded into the complex numbers to elements of QQbar
.
Origininal report:
sage: C.<z> = CyclotomicField(7)
sage: a = 2*z^2 + 5*z^4
sage: E = C.algebraic_closure()
sage: E(a)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<snip>
TypeError: Illegal initializer for algebraic number
Component: algebra
Keywords: sd40.5
Author: Marc Mezzarobba
Branch/Commit: b28381a
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/13041