Skip to content

Commit 55f907f

Browse files
author
Release Manager
committed
gh-40422: use generic isogeny call to opportunistically use velusqrt Before only velu formulas were used for this codomain, but for points with large or composite order we have better options within the E.isogeny method, so we should use these. URL: #40422 Reported by: Giacomo Pope Reviewer(s): Lorenz Panny
2 parents d27443e + 0532c8d commit 55f907f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/schemes/elliptic_curves/ell_curve_isogeny.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def isogeny_codomain_from_kernel(E, kernel):
219219
if algorithm == 'velu':
220220
# if we are using Velu's formula, just instantiate the isogeny
221221
# and return the codomain
222-
return EllipticCurveIsogeny(E, kernel).codomain()
222+
return E.isogeny(kernel).codomain()
223223

224224
if algorithm == 'kohel':
225225
return compute_codomain_kohel(E, kernel)

0 commit comments

Comments
 (0)