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

Commit

Permalink
remove unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Nov 23, 2019
1 parent b4b2cf1 commit d46d6bb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/sage/rings/number_field/number_field_base.pyx
Expand Up @@ -105,14 +105,6 @@ cdef class NumberField(Field):
1.414213562373095? + 1.414213562373095?*I
sage: sqrtm2 + AA(3).sqrt()
1.732050807568878? + 1.414213562373095?*I
Pushout is implemented for number fields embedded into the same field::
sage: K.<sqrt2_plus_sqrt3> = NumberField(x^4 - 10*x^2 + 1)
sage: K2.<sqrt2> = NumberField(x^2-2, embedding=(sqrt2_plus_sqrt3^3 - 9*sqrt2_plus_sqrt3)/2)
sage: K3.<sqrt3> = NumberField(x^2-3, embedding=-(sqrt2_plus_sqrt3^3 - 11*sqrt2_plus_sqrt3)/2)
sage: sqrt2 + sqrt3
sqrt2_plus_sqrt3
"""
# Use the embedding of ``self``, if it exists.
if self._embedding:
Expand Down

0 comments on commit d46d6bb

Please sign in to comment.