Karim Belabas on Tue, 23 Nov 2004 18:05:30 +0100


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

Re: Pari bug?


* Ariel Pacetti [2004-11-23 05:26]:
> I am using the CVS version and I found a bug on "forvec" if I run:
> 
> ? forvec(X=[[1,4],[2,4],[3,4]],print(X),2)
> [1, 2, 3]
> [1, 2, 4]
> [1, 3, 4]
> [1, 4, 5]
> [2, 3, 4]
> [2, 4, 5]
> [3, 4, 5]
> 
> I just downloaded the last version (to be sure that this was not a problem 
> on my version) and it gives the same result.

I've fixed the problem in CVS.

I rewrote forvec() a month ago, so that gp2c can understand / use it, and a
typo crept in. Actually 2 typos, see Bug #107 on the BTS.

Thanks !

    Karim.

P.S: Btw, the (much) preferred way to report bugs in PARI/GP [ or gp2c ] is to
use the Bug Tracking System, see http://pari.math.u-bordeaux.fr/Bugs/.
-- 
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]