|Denis Simon on Mon, 10 May 2004 09:20:22 +0200|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
On Sun, 9 May 2004, Elie_CALI wrote: > > > Hi, > > I use the nffactormod function on a PC with the version 2.2.6 of Pari. > It works well, but when I send program to a friend who has a Unix version > (I > don't know the exact version but a quite recent one), I get a bug report. > The problem is an "unexpected charcater" problem. Indeed, I try to compute > : > > nffactormod(bnf,p,id), > > which works well with my version, while the Unix version seems to expect > something like : > > nffactormod(bnf,p,id)[1,1]. > > Do I do something wrong, or can I get a Pari version for my PC which works > the same as the Unix one? > > Thanks. If you don't want to change your version of Pari, you can try: nffact = nffactormod(bnf,p,id); if(type(nffact)=="t_VEC",nffact,nffact[1,1]) Denis SIMON.