American Citizen on Fri, 31 Jul 2026 05:25:13 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

citing the problem line 1912 in ell.gp (2011 copy)


Line 1912 in ell.gp (2011 copy) is causing problems in current GP-Pari 2.17.4

1911  \\ choix de l'algorithme suivant la 2-torsion
1912    ell *= Mod(1,bnf.pol);
1913    eqtheta = Pol([1,ell.a2,ell.a4,ell.a6]);

We cannot multiply the ell structure anymore due to the use of t_VECSMALL in it.

Can we do:

ell=ellinit([Mod(ell.a1,bnf.pol),Mod(ell.a2,bnf.pol),Mod(ell.a3,bnf.pol),Mod(ell.a4,bnf.pol),Mod(ell.a6,bnf.pol)]);

instead?

Will this fix the problem?