PARI/GP Bug report logs - #1713
[0,1,2]^[2] -> error

Package: pari; Maintainer for pari is Aurel Page <aurel.page@normalesup.org>; Source for pari is src:pari.

Reported by: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>

Date: Wed, 17 Jun 2015 17:48:02 UTC

Severity: normal

Done: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list@pari.math.u-bordeaux.fr, Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>:
Bug#1713; Package pari. (Wed, 17 Jun 2015 17:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>:
New Bug report received and forwarded. Copy sent to Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>.

Your message had a Version: pseudo-header with an invalid package version:

2.8, 2.7, 2.5

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

(Wed, 17 Jun 2015 17:48:02 GMT) (full text, mbox, link).


Message #5 received at submit@pari.math.u-bordeaux.fr (full text, mbox, reply):

From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
To: submit@pari.math.u-bordeaux.fr
Subject: [0,1,2]^[2] -> error
Date: Wed, 17 Jun 2015 19:34:30 +0200
Package: pari
Version: 2.8, 2.7, 2.5

Hello Karim,

(this was reported on pari-users:
http://pari.math.u-bordeaux.fr/archives/pari-users-1505/msg00000.html
)

? [1,2,3]^[2]
%2 = [[1.0000000000000000000000000000000000000],[4.0000000000000000000000000000000000000],[9.0000000000000000000000000000000000000]]
? [0,1,2]^[2]
  ***   at top-level: [0,1,2]^[2]
  ***                        ^----
  *** _^_: incorrect type in gpow(0,n) (t_VEC).

Cheers,
Bill



Information forwarded to bug-submit-list@pari.math.u-bordeaux.fr:
Bug#1713; Package pari. (Wed, 17 Jun 2015 18:18:02 GMT) (full text, mbox, link).


Acknowledgement sent to Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>:
Extra info received and forwarded to list. (Wed, 17 Jun 2015 18:18:02 GMT) (full text, mbox, link).


Message #10 received at 1713@pari.math.u-bordeaux.fr (full text, mbox, reply):

From: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
To: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>, 1713@pari.math.u-bordeaux.fr
Subject: Re: Bug#1713: [0,1,2]^[2] -> error
Date: Wed, 17 Jun 2015 20:10:35 +0200
* Bill Allombert [2015-06-17 19:48]:
> Package: pari
> Version: 2.8, 2.7, 2.5
> 
> Hello Karim,
> 
> (this was reported on pari-users:
> http://pari.math.u-bordeaux.fr/archives/pari-users-1505/msg00000.html
> )
> 
> ? [1,2,3]^[2]
> %2 = [[1.0000000000000000000000000000000000000],[4.0000000000000000000000000000000000000],[9.0000000000000000000000000000000000000]]
> ? [0,1,2]^[2]
>   ***   at top-level: [0,1,2]^[2]
>   ***                        ^----
>   *** _^_: incorrect type in gpow(0,n) (t_VEC).

Yes, can be simplified to

(20:07) gp > 1^[1]
%8 = [1.0000000000000000000000000000000000000]
(20:07) gp > 0^[1]
  ***   at top-level: 0^[1]
  ***                  ^----
  *** _^_: incorrect type in gpow(0,n) (t_VEC).

Not too eager to support this construction (have fun with,
e.g. [1,2,3;4,5,6]^matid(2) [whіch works and returns the "obvious" answer]...),
but OK. I'll handle this.

Cheers,

    K.B.
--
Karim Belabas, IMB (UMR 5251)  Tel: (+33) (0)5 40 00 26 17
Universite de Bordeaux         Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~kbelabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]
`



Reply sent to Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>:
You have taken responsibility. (Wed, 17 Jun 2015 21:33:02 GMT) (full text, mbox, link).


Notification sent to Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>:
Bug acknowledged by developer. (Wed, 17 Jun 2015 21:33:02 GMT) (full text, mbox, link).


Message #15 received at 1713-close@pari.math.u-bordeaux.fr (full text, mbox, reply):

From: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
To: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>, 1713-close@pari.math.u-bordeaux.fr
Subject: Re: Bug#1713: [0,1,2]^[2] -> error
Date: Wed, 17 Jun 2015 23:19:51 +0200
* Karim Belabas [2015-06-17 20:10]:
> * Bill Allombert [2015-06-17 19:48]:
> > Package: pari
> > Version: 2.8, 2.7, 2.5
> > 
> > Hello Karim,
> > 
> > (this was reported on pari-users:
> > http://pari.math.u-bordeaux.fr/archives/pari-users-1505/msg00000.html
> > )
> > 
> > ? [1,2,3]^[2]
> > %2 = [[1.0000000000000000000000000000000000000],[4.0000000000000000000000000000000000000],[9.0000000000000000000000000000000000000]]
> > ? [0,1,2]^[2]
> >   ***   at top-level: [0,1,2]^[2]
> >   ***                        ^----
> >   *** _^_: incorrect type in gpow(0,n) (t_VEC).
> 
> Yes, can be simplified to
> 
> (20:07) gp > 1^[1]
> %8 = [1.0000000000000000000000000000000000000]
> (20:07) gp > 0^[1]
>   ***   at top-level: 0^[1]
>   ***                  ^----
>   *** _^_: incorrect type in gpow(0,n) (t_VEC).
> 
> Not too eager to support this construction (have fun with,
> e.g. [1,2,3;4,5,6]^matid(2) [whіch works and returns the "obvious" answer]...),
> but OK. I'll handle this.

Fixed in master. 

Thanks!

    K.B.
--
Karim Belabas, IMB (UMR 5251)  Tel: (+33) (0)5 40 00 26 17
Universite de Bordeaux         Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~kbelabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]
`



Bug archived. Request was from Debbugs Internal Request <allomber@math.u-bordeaux.fr> to internal_control@pari.math.u-bordeaux.fr. (Thu, 16 Jul 2015 05:24:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Bill Allombert <allomber@math.u-bordeaux.fr>. Last modified: Wed May 8 18:27:44 2024; Machine Name: pari

PARI/GP Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.