Bill Allombert on Mon, 23 Jan 2017 00:07:06 +0100


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

Re: Question on printing a matrix...


On Sun, Jan 22, 2017 at 04:52:36PM -0600, wraithx@morpheus.net wrote:
> (16:37) gp > printf("%d",factor(120001))
>   ***   at top-level: printf("%d",factor(1
>   ***                 ^--------------------
>   *** printf: bug in PARI/GP (Segmentation Fault), please report.

Not only I can reproduce this, but all PARI version since printf was
introduced has this bug.

The code only work for square matrices (there is a column/row
confusion).

Cheers,
Bill.