bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Fwd: Submitting my first gnubg patch contribution...


From: Gary Wong
Subject: Re: [Bug-gnubg] Fwd: Submitting my first gnubg patch contribution...
Date: Fri, 2 Aug 2002 12:15:58 -0400
User-agent: Mutt/1.3.28i

Eli Liang wrote:
> Please accept the attached gzipped patch file with a fix for a serious 
> initialization bug in MT19937 which affected all uses of MT19937 that only 
> required a PRN after seeding the generator (this means backgammon among 
> other things).

Thanks very much for the patch.  I have committed it to the gnubg CVS
repository now, and it should show up in snapshots dated 020802 and later.

(I modified the patch in several small ways -- I adjusted the seed value
so that the example in the manual agrees as closely as possible, and I
omitted the Brent/Gimeno/Knuth procedure, since it is intended to fix a
problem with Knuth's lagged Fibonacci generator and I am not convinced
it makes any improvement to MT.)

Cheers,
Gary.
-- 
   Gary Wong           address@hidden           http://www.cs.arizona.edu/~gary/



reply via email to

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