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

Commit

Permalink
Changed unfortunate parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
johanrosenkilde committed Aug 1, 2016
1 parent 4a33c5f commit a921040
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/sage/rings/polynomial/skew_polynomial_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -3107,7 +3107,7 @@ cdef class SkewPolynomialBaseringInjection(RingHomomorphism):
"""
return self._an_element

cpdef Element _call_(self, x):
cpdef Element _call_(self, e):
"""
TESTS::
Expand All @@ -3122,11 +3122,11 @@ cdef class SkewPolynomialBaseringInjection(RingHomomorphism):
Skew Polynomial Ring in x over Finite Field in t of size 5^3 twisted by t |--> t^5
"""
try:
return self._codomain._element_constructor_(x)
return self._codomain._element_constructor_(e)
except AttributeError:
return self._codomain(x)
return self._codomain(e)

cpdef Element _call_with_args(self, x, args=(), kwds={}):
cpdef Element _call_with_args(self, e, args=(), kwds={}):
"""
TESTS::
Expand All @@ -3141,9 +3141,9 @@ cdef class SkewPolynomialBaseringInjection(RingHomomorphism):
Skew Polynomial Ring in x over Finite Field in t of size 5^3 twisted by t |--> t^5
"""
try:
return self._codomain._element_constructor_(x, *args, **kwds)
return self._codomain._element_constructor_(e, *args, **kwds)
except AttributeError:
return self._codomain(x, *args, **kwds)
return self._codomain(e, *args, **kwds)

def section(self):
"""
Expand Down

0 comments on commit a921040

Please sign in to comment.