From 1c7cc7131c9b5d5843cb0fd74a47944658586efb Mon Sep 17 00:00:00 2001 From: David Roe Date: Mon, 6 Nov 2017 07:26:40 +0000 Subject: [PATCH] Fix typo in section method for base ring injection in p-adic two-step extensions --- src/sage/rings/padics/relative_extension_leaves.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/rings/padics/relative_extension_leaves.py b/src/sage/rings/padics/relative_extension_leaves.py index 963ae0fa755..d7f47dc0385 100644 --- a/src/sage/rings/padics/relative_extension_leaves.py +++ b/src/sage/rings/padics/relative_extension_leaves.py @@ -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):