Skip to content

Commit 8e32563

Browse files
committed
Make sure to call pari's bnfinit with flag=1 so all data is correctly populated
1 parent 951e9c9 commit 8e32563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/schemes/elliptic_curves/gp_simon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def simon_two_descent(E, verbose=0, lim1=None, lim3=None, limtriv=None,
106106
E = E_orig.change_ring(to_K)
107107
with localvars(K.polynomial().parent(), 'y'):
108108
# Simon's program requires that this name be y.
109-
K_pari = pari.bnfinit(K.polynomial())
109+
K_pari = pari.bnfinit(K.polynomial(), 1)
110110
known_points = [P.change_ring(to_K) for P in known_points]
111111
else:
112112
deprecation(38461, "please use the 2-descent algorithm over QQ inside pari")

0 commit comments

Comments
 (0)