Prof. J. E. Cremona on Wed, 27 Apr 2005 21:50:45 +0200


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

bug in ellminimalmodel()


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, ...

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.