Skip to content

Commit 8515adc

Browse files
xcarusokryzar
andauthored
Update src/sage/rings/function_field/drinfeld_modules/drinfeld_module.py
Co-authored-by: Antoine Leudière <[email protected]>
1 parent 3bf7d82 commit 8515adc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sage/rings/function_field/drinfeld_modules/drinfeld_module.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,6 +1775,7 @@ def hom(self, x, codomain=None):
17751775
ValueError: the input does not define an isogeny
17761776
17771777
"""
1778+
# When `x` is in the function ring (or something that coerces to it):
17781779
if self.function_ring().has_coerce_map_from(x.parent()):
17791780
return self.Hom(self)(x)
17801781
if codomain is None:

0 commit comments

Comments
 (0)