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

Commit

Permalink
Adjust comment
Browse files Browse the repository at this point in the history
  • Loading branch information
roed314 committed Sep 13, 2019
1 parent 79f2458 commit 9313b2c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/sage/rings/number_field/number_field_rel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1359,9 +1359,9 @@ def free_module(self, base=None, basis=None, map=True):
- ``base`` -- a subfield
- ``basis`` -- a list of elements giving a basis over the subfield (optional)
- ``basis`` -- (optional) a list of elements giving a basis over the subfield
- ``map`` -- whether to return isomorphisms to and from the vector space (default ``True``)
- ``map`` -- (default ``True``) whether to return isomorphisms to and from the vector space
EXAMPLES::
Expand Down
12 changes: 8 additions & 4 deletions src/sage/rings/padics/padic_extension_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,10 +650,14 @@ def free_module(self, base=None, basis=None, map=True):

# We could have used morphisms in the category
# FiniteDimensionalModulesWithBasis over Qp(p)
# But this would require making p-adic fields
# part of this category which has a lot of side
# effects (adding methods which will show up
# in tab completion for example). For now we
# But currently if you try to add this category
# to p-adic extensions you get errors on
# object creation. Moreover, some of the methods
# obtained from the category (such as dimension)
# don't take base ring into account, making it
# awkward to treat the same field as simultaneously
# an object in two free module categories with
# different base rings. So for now we
# just stick with Map.
class pAdicModuleIsomorphism(Map):
r"""
Expand Down

0 comments on commit 9313b2c

Please sign in to comment.