Skip to content

Commit 0532c8d

Browse files
committed
use generic isogeny call to opportunistically use velusqrt
1 parent 931cc5e commit 0532c8d

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)