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

Commit

Permalink
Fix some doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
roed314 committed Sep 11, 2019
1 parent d4a35ac commit 1f78dd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/laurent_series_ring_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ cdef class LaurentSeries(AlgebraElement):
sage: z._im_gens_(R, [t^2], base_map=cc)
Traceback (most recent call last):
...
NotImplementedError:
NotImplementedError
"""
x = im_gens[0]
return codomain(self.__u._im_gens_(codomain, im_gens, base_map=base_map) * x**self.__n)
Expand Down
2 changes: 2 additions & 0 deletions src/sage/rings/morphism.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,8 @@ cdef class RingHomomorphism_im_gens(RingHomomorphism):
sage: phi(i*y)
-i*y^2
sage: phi.base_map()
Ring endomorphism of Number Field in i with defining polynomial x^2 + 1
Defn: i |--> -i
"""
return self._base_map

Expand Down

0 comments on commit 1f78dd4

Please sign in to comment.