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

Commit

Permalink
34212: fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
guojing0 committed Aug 11, 2022
1 parent d086479 commit 2e9c42a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sage/rings/number_field/number_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
from sage.categories.sets_cat import Sets
from sage.modules.free_module import VectorSpace
from sage.modules.free_module_element import vector
from sage.rings.real_mpfr import RR

_NumberFields = NumberFields()

Expand Down Expand Up @@ -9302,7 +9303,7 @@ def minkowski_embedding(self, B=None, prec=None):
return sage.matrix.all.matrix(d)

def logarithmic_embedding(self, prec=53):
"""
r"""
Return the morphism of ``self`` under the logarithmic embedding
in the category Set.
Expand Down Expand Up @@ -9362,7 +9363,8 @@ def closure_map(x, prec=53):
return vector(x_logs)

log_map = closure_map(self(0), prec)
return Hom(self, VectorSpace(QQ, len(log_map)), Sets())
hom = Hom(self, VectorSpace(RR, len(log_map)), Sets())
return hom(log_map)

def places(self, all_complex=False, prec=None):
r"""
Expand Down

0 comments on commit 2e9c42a

Please sign in to comment.