Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-rojas committed Jan 4, 2025
1 parent 36cf809 commit f5af542
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/sage/rings/number_field/number_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -8789,8 +8789,7 @@ def subfields(self, degree=0, name=None):
sage: K.<a> = NumberField(2*x^4 + 6*x^2 + 1/2)
sage: K.subfields()
[
(Number Field in a0 with defining polynomial x, Ring morphism:
[(Number Field in a0 with defining polynomial x, Ring morphism:
From: Number Field in a0 with defining polynomial x
To: Number Field in a with defining polynomial 2*x^4 + 6*x^2 + 1/2
Defn: 0 |--> 0, None),
Expand All @@ -8812,8 +8811,7 @@ def subfields(self, degree=0, name=None):
Defn: a4 |--> -a^3 - 1/2*a^2 - 5/2*a - 3/4, Ring morphism:
From: Number Field in a with defining polynomial 2*x^4 + 6*x^2 + 1/2
To: Number Field in a4 with defining polynomial x^4 + 1
Defn: a |--> 1/2*a4^3 + a4^2 + 1/2*a4)
]
Defn: a |--> 1/2*a4^3 + a4^2 + 1/2*a4)]
"""
return self._subfields_helper(degree=degree, name=name,
both_maps=True, optimize=False)
Expand Down

0 comments on commit f5af542

Please sign in to comment.