| Jean-Pierre Flori on Wed, 17 Sep 2014 14:57:35 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Detecting whether PARI has been initialized |
That's an interesting question.
I used to do the same in my code using PARI.
2014-09-17 14:09 GMT+02:00 Jeroen Demeyer <jdemeyer@cage.ugent.be>:
> Dear pari-dev,
>
> what is the recommended way to detect whether or not pari_init() has already
> been called? This is useful for libraries which might interact which other
> libraries which have initialized PARI.
>
> John Cremona's eclib for example does
>
> if (!bot) {
> pari_init(1000000, 1000000);
> }
>
> which doesn't work anymore with the latest master.
>
>
> Cheers,
> Jeroen.
>
--
Jean-Pierre Flori