| Karim Belabas on Tue, 05 Apr 2005 15:36:58 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: [bug report] Member functions |
* Yann [2005-04-05 11:03]:
> It seems that it is not possible to define member functions in the
> latest CVS build (2.2.10). This example worked fine with the 2.2.9
> release, but now :
>
> ~ $ gp
> Reading GPRC: /etc/gprc ...Done.
>
> GP/PARI CALCULATOR Version 2.2.10 (development CHANGES-1.1184)
> i686 running linux (ix86/GMP-4.1.4 kernel) 32-bit version
> compiled: Apr 5 2005, gcc-3.3.5 (Debian 1:3.3.5-8)
> (readline v5.0 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 = 4000000, primelimit = 500000
> ? x.xi=x[2];
> ? a=[10,20,30];
> ? a.xi
> *** unknown member function: a.xi
> ^--
A problem introduced (by me) in
RCS file: /home/cvs/pari/src/language/anal.c,v
revision 1.191
date: 2005/03/29 19:09:23; author: kb; state: Exp; lines: +60 -78
cleanup : change prototype for hashvalue + fetch_named_var.
It's now fixed in CVS.
Thanks !
Karim.
P.S: To report bugs in current CVS, please use pari-dev or, better, 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]