[GiNaC-list] Non-reentrant code in GCD functions

Jens Vollinga jensv at nikhef.nl
Sun Jun 13 22:10:38 CEST 2010


Hi!

Am 13.06.2010 21:07, schrieb Alexei Sheplyakov:
> Could you please be more specific? I can see several static const variables,
> for instance,

like in primpart_content.cpp

44 void primpart_content(ex& pp, ex& c, ex e, const exvector& vars,
45                       const long p)
46 {
47        static const ex ex1(1);
48        static const ex ex0(0);

Regards,
Jens


More information about the GiNaC-list mailing list