Skip to content

Commit

Permalink
Make sure to call pari's bnfinit with flag=1 so all data is correctly…
Browse files Browse the repository at this point in the history
… populated
  • Loading branch information
antonio-rojas committed Mar 2, 2025
1 parent 951e9c9 commit 8e32563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/schemes/elliptic_curves/gp_simon.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def simon_two_descent(E, verbose=0, lim1=None, lim3=None, limtriv=None,
E = E_orig.change_ring(to_K)
with localvars(K.polynomial().parent(), 'y'):
# Simon's program requires that this name be y.
K_pari = pari.bnfinit(K.polynomial())
K_pari = pari.bnfinit(K.polynomial(), 1)
known_points = [P.change_ring(to_K) for P in known_points]
else:
deprecation(38461, "please use the 2-descent algorithm over QQ inside pari")
Expand Down

0 comments on commit 8e32563

Please sign in to comment.