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

Commit

Permalink
Fix typo in section method for base ring injection in p-adic two-step…
Browse files Browse the repository at this point in the history
… extensions
  • Loading branch information
roed314 committed Nov 6, 2017
1 parent 16477d3 commit 1c7cc71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/padics/relative_extension_leaves.py
Expand Up @@ -37,7 +37,7 @@ def _call_with_args(self, x, args=(), kwds={}):
return self.codomain()([x], *args, **kwds)

def section(self):
return pAdicRelativeBaseringSection(S, R)
return pAdicRelativeBaseringSection(self.codomain(), self.domain())

class pAdicRelativeBaseringSection(Morphism):
def __init__(self, S, R):
Expand Down

0 comments on commit 1c7cc71

Please sign in to comment.