help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] Possible bug with the "gsl_rng_ranlxs2" routine


From: Brian Gough
Subject: Re: [Help-gsl] Possible bug with the "gsl_rng_ranlxs2" routine
Date: Thu, 28 Apr 2011 23:38:22 +0100
User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO)

At Tue, 19 Apr 2011 18:12:33 -0500,
Wang, Gao wrote:
> I am using GSL-1.14 and I got strange result when I generate pseudo random
> numbers X~U(0, 1). The problem occurs randomly at different runs of the
> problem. In example A below it is problematic, and B looks fine. My test C++
> code w/ a make file is attached at the end of the email.
> 
> Any comments? Thank you!

In the next release the seed values will be limited to the allowed
range of [0,2^31-1] to avoid this problem. Thanks for the bug report.

-- 
Brian Gough




reply via email to

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