We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 35e5db3 + 2eebc0b commit 3d51d84Copy full SHA for 3d51d84
lmfdb/elliptic_curves/web_ec.py
@@ -661,7 +661,7 @@ def make_mwbsd(self):
661
mwbsd['generators'] = [weighted_proj_to_affine_point(P) for P in mwbsd['gens']] if mwbsd['ngens'] else []
662
mwbsd['heights'] = [RR(h) for h in mwbsd['heights']]
663
mwbsd['gens_and_heights'] = list(zip(mwbsd['generators'], mwbsd['heights']))
664
-
+
665
# Mordell-Weil group
666
invs = [0 for a in range(self.rank)] + list(self.torsion_structure)
667
mwbsd['mw_struct'] = "trivial" if len(invs) == 0 else r'\(' + r' \oplus '.join((r'\Z' if n == 0 else r'\Z/{%s}\Z' % n) for n in invs) + r'\)'
0 commit comments