Skip to content

Commit

Permalink
ECNF: sort non-torsion gens by height for display
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCremona committed Dec 3, 2024
1 parent 55bf75b commit 71d9bb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lmfdb/ecnf/WebEllipticCurve.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,9 +577,10 @@ def make_E(self):
try:
self.gens = [web_point(parse_point(K, P)) for P in self.gens]
self.gens_and_heights = list(zip(self.gens,self.heights))
self.gens_and_heights.sort(key = lambda Ph: Ph[1])
except AttributeError:
self.gens = []
self.gens_and_orders = []
self.gens_and_heights = []

# Global period
try:
Expand Down

0 comments on commit 71d9bb3

Please sign in to comment.