Roland Dreier on Fri, 6 Nov 1998 18:25:10 -0600 (CST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Typo in 2.0.12 polarit1.c |
I think something like the following is needed to get factorization of polynomials over F_q to work. Roland --- src/basemath/polarit1.c.orig Fri Nov 6 18:19:29 1998 +++ src/basemath/polarit1.c Fri Nov 6 18:19:38 1998 @@ -1743,7 +1743,7 @@ { pk *= p; e=pk; j=(lgef(f)-3)/p+3; setlg(f,j); setlgef(f,j); - for (i=2; i<j; i++) f2[i] = (long)powgi((GEN)f[p*(i-2)+2], frobinv); + for (i=2; i<j; i++) f[i] = (long)powgi((GEN)f[p*(i-2)+2], frobinv); df1=derivpol(f); f3=NULL; } f2 = f3? f3: ggcd(f,df1);