Skip to content

Commit 62b05ff

Browse files
committed
Coverage test
1 parent b419511 commit 62b05ff

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/sage/schemes/elliptic_curves/period_lattice.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,15 @@ def __init__(self, E, embedding=None):
213213
sage: L = PeriodLattice_ell(E,emb)
214214
sage: L == loads(dumps(L))
215215
True
216+
217+
Elliptic curve over imaginary number field without ``embedding`` specified::
218+
219+
sage: E = EllipticCurve(QQ[I], [5, -3*I])
220+
sage: L = PeriodLattice_ell(E, embedding=None)
221+
sage: L.elliptic_logarithm(E(I+1, I+2))
222+
-0.773376784700140 - 0.177736018028666*I
223+
sage: L.elliptic_exponential(_)
224+
(1.00000000000000 - 1.00000000000000*I : 2.00000000000000 - 1.00000000000000*I : 1.00000000000000)
216225
"""
217226
# First we cache the elliptic curve with this period lattice:
218227

0 commit comments

Comments
 (0)