Karim BELABAS on Sun, 9 Mar 2003 13:01:25 +0100 (MET)


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

Re: idealprimedec() bug


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 ]

    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]