Karim BELABAS on Mon, 10 Mar 2003 11:45:57 +0100 (MET)


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

Re: idealprimedec() bug


On Sun, 9 Mar 2003, Igor Schein wrote:
> On Sun, Mar 09, 2003 at 01:01:25PM +0100, Karim BELABAS wrote:
> > On Sat, 8 Mar 2003, Igor Schein wrote:
> > > ? idealprimedec(nfinit(x^16+16),256)
> > >   ***   bug in GP (Segmentation Fault), please report
> >
> > Bad Input... I added a cheap check in CVS.
> >
> > (12:51) gp >  idealprimedec(nfinit(x^16+16),256)
> >   ***   primedec: 256 is not a prime.
> >
> > [ if one of two obvious "assert" fails. No primality check is made ]
>
> ? idealprimedec(nfinit(x^24 + 62*x^12 + 1),8)
>   ***   bug in GP (Segmentation Fault), please report

Yet another "assert" failed. Fixed.

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425   Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://www.parigp-home.de/  [PARI/GP]