Karim Belabas on Fri, 13 May 2005 18:20:56 +0200


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

Re: bug in ellminimalmodel()


* Prof. J. E. Cremona [2005-04-27 22:46]:
> After ellminimalmodel() the second coefficient should be in {-1,0,1}
> but it isn't.  A second call to ellminimalmodel() does the trick.
> 
> John
> 
> 
>                          GP/PARI CALCULATOR Version 2.2.11
>                           (development CHANGES-1.1201)
>                                  i686 running linux (ix86 kernel)
>                           32-bit version
>                         compiled: Apr 26 2005, gcc-3.3.2 20031022 (Red
>                           Hat Linux 3.3.2-1)
>                                  (readline v4.3 enabled, extended help
>                           available)
> 
>                                       Copyright (C) 2000-2005 The PARI
>                                       Group
> 
> PARI/GP is free software, covered by the GNU General Public License,
> and comes WITHOUT ANY WARRANTY WHATSOEVER.
> 
> Type ? for help, \q to quit.
> Type ?12 for how to get moral (and possibly technical) support.
> 
> parisize = 10000000, primelimit = 1000000
> 
> gp > e=ellinit([1, -1, 1, -49952, 3713689]);
> gp > ellminimalmodel(e)
> %2 = [1, 2, 0, -615, 4615, ...

Indeed. It's now fixed in CVS.

Thanks!

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dep. de Mathematiques, Bat. 425   Fax: (+33) (0)1 69 15 60 19
Universite Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]