| Bill Allombert on Sun, 14 Jul 2024 19:50:47 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Should forvec_t / forvec_init() / forvec_next() work in shared library code? |
On Sun, Jul 14, 2024 at 07:41:24PM +0200, hermann@stamm-wilbrandt.de wrote: > On 2024-07-14 19:04, Bill Allombert wrote: > > Sure. Maybe you are deleting data created by forvec_init in the PARI > > stack that > > is still in use. > > > Seeing your code it was likely a missing cgetg() call. > > > For example, this code works fine: > > > Thanks for that example — and yes, it works well: I generated my code with gp2c. echo "forvec(v=[[1,3],[2,4]],print(v))" | gp2c Cheers, Bill.