Karim BELABAS on Sat, 3 Aug 2002 17:37:08 +0200 (MEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: polredabs() bug |
On Mon, 29 Jul 2002, Igor Schein wrote: > polredabs() doesn't reduce the following polynomial: > > x^8-2*x^7-34*x^6+78*x^5+265*x^4-628*x^3-389*x^2+1237*x-449 > > The correct answer is > > x^8-2*x^7-22*x^6+46*x^5+73*x^4-102*x^3-19*x^2+25*x+5 > > as returned by version 2.0.19 and earlier. A typo in chk_gen_init, when computing the 'skipfirst' parameter [ the first 'skipfirst' elements of the integer basis generate a strict subfield, which is used to prune the search tree ]. The field of largest degree returned by polcompositum is the last one, not the first one. Fixed. Karim. -- Karim Belabas Tel: (+33) (0)1 69 15 57 48 Dép. de Mathematiques, Bat. 425 Fax: (+33) (0)1 69 15 60 19 Université Paris-Sud Email: Karim.Belabas@math.u-psud.fr F-91405 Orsay (France) http://www.math.u-psud.fr/~belabas/ -- PARI/GP Home Page: http://www.parigp-home.de/