Skip to content

Commit

Permalink
Merge pull request #5608 from AndrewVSutherland/g2c_modell_search
Browse files Browse the repository at this point in the history
Use "is None" when testing non_surj
  • Loading branch information
roed314 authored Jul 26, 2023
2 parents df9f639 + 9d65b13 commit a9a79ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmfdb/genus2_curves/web_g2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ def make_object(self, curve, endo, tama, ratpts, clus, galrep, nonsurj, is_curve
data['split_statement'] = split_statement(data['split_coeffs'], data.get('split_labels'), data['split_condnorms'])

# Nonsurjective primes data
if not nonsurj:
if nonsurj is None:
data['exists_nonsurj_data'] = False
else:
data['exists_nonsurj_data'] = True
Expand Down

0 comments on commit a9a79ea

Please sign in to comment.