Skip to content

Commit

Permalink
Update src/sage/rings/qqbar.py
Browse files Browse the repository at this point in the history
Co-authored-by: Travis Scrimshaw <clfrngrown@aol.com>
  • Loading branch information
user202729 and tscrim committed Nov 8, 2024
1 parent affa033 commit b16a160
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/sage/rings/qqbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2969,10 +2969,8 @@ def mk_algebraic(x):
exact_generator = gen.root_as_algebraic()
hom = fld.hom([exact_generator])

if fld is QQ:
# ignore embedded parameter
pass
else:
if fld is not QQ:
# ignore the embedded parameter for QQ
# cyclotomic fields are embedded by default
# number fields are not embedded by default
# if the default embedding is different from what is expected then modify the field
Expand Down

0 comments on commit b16a160

Please sign in to comment.