Karim Belabas on Wed, 10 Jun 2015 12:54:08 +0200


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

Re: Collect garbage in qfgaussred()


* Jeroen Demeyer [2015-06-10 11:28]:
> Hello,
> 
> While using qfgaussred(), I noticed that it can easily overflow the stack
> for moderate input. This is because there is no gerepile...() in the main
> loop.

Indeed. For some reason, it was only done in one of the two branches
(hyperbolic plane).

> I attach a trivial patch to fix this.

Applied to 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]
`