Ticket #1119 (closed defect: fixed)
[with patch, positive review] EllipticCurve.random_element for char=2
|Reported by:||malb||Owned by:||malb|
This should work:
sage: k.<a> = GF(2^5) sage: E = EllipticCurve(k,[k.random_element() for _ in range(5)]) sage: E Elliptic Curve defined by y^2 + (a^3+1)*x*y + (a^4+a^3+a)*y = x^3 + (a^4+a^3+a^2+a)*x^2 + (a^4+a^2+a+1)*x + a^2 over Finite Field in a of size 2^5 sage: E.random_element() Exception (click to the left for traceback): ... ZeroDivisionError: division by zero in finite field.
- Owner changed from was to malb
- Status changed from new to assigned
- Summary changed from EllipticCurve.random_element for char=2 to [with patch] EllipticCurve.random_element for char=2
- Summary changed from [with patch] EllipticCurve.random_element for char=2 to [with patch, positive review] EllipticCurve.random_element for char=2
Note: See TracTickets for help on using tickets.