Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 1a3f9c2

Browse files
author
Jean-Pierre Flori
committed
Test the algebraic closure before CC when constructing embeddings of number fields.
1 parent d84620d commit 1a3f9c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/number_field/number_field_morphisms.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ cdef class EmbeddedNumberFieldMorphism(NumberFieldEmbedding):
194194
while Lemb.coerce_embedding() is not None:
195195
Lemb = Lemb.coerce_embedding().codomain()
196196
ambient_field = pushout(Kemb, Lemb)
197-
candidate_ambient_fields = [ambient_field, sage.rings.complex_double.CDF]
198197
try:
199198
candidate_ambient_fields.append(ambient_field.algebraic_closure())
200199
except NotImplementedError:
201200
pass
201+
candidate_ambient_fields.append(sage.rings.complex_double.CDF)
202202
else:
203203
candidate_ambient_fields = [ambient_field]
204204

0 commit comments

Comments
 (0)