Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lmfdb/ecnf/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ def postprocess(self, row, info, query):
poly = coeff_to_poly(db.nf_fields.lookup(row['field_label'], projection='coeffs'))
row["field_coeffs"] = poly

# Convert Weierstrass coefficients from string to a list of list of integers
row['ainvs'] = [[ZZ(aj) for aj in ai.split(",")] for ai in row['ainvs'].split(";")]
# Convert Weierstrass coefficients from string to a list of list of rationals
row['ainvs'] = [[QQ(aj) for aj in ai.split(",")] for ai in row['ainvs'].split(";")]

return row

Expand Down
Loading