[Top][All Lists]

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

Re: [Bug-gsl] Uninitialized bytes in RNG state.

From: M Joonas Pihlaja
Subject: Re: [Bug-gsl] Uninitialized bytes in RNG state.
Date: Tue, 10 Feb 2009 23:29:48 +0200 (EET)

On Tue, 10 Feb 2009, Brian Gough wrote:

> For now, I'd suggest that you clear the struct in your code with a
> memset() after calling the gsl_rng_alloc() function, and then call
> gsl_rng_set(r,0) to reinitialize it.

Alright thanks, I'll do that.  It's a little slower, but it's unlikely 
it'll ever matter.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]