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: Wed, 27 Apr 2011 00:14:30 +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!

I've checked the original documentation and the maximum seed for
ranlxs is 2^31-1. This should be caught in GSL and not return bogus
values, currently it is not tested for.



reply via email to

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