Re: MersenneTwisterUniformRng .. now correct

Posted by Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/MersenneTwisterUniformRng-now-correct-tp3385p3386.html

Hi Michael,

On 2004.10.29 16:46, [hidden email] wrote:
>
> I am intersted in the rational for chosing the implementation of
> MersenneTwisterUniformRng with "Size mti" being static. This choice
> leads to different random sequences for the cases sketched below.
> My prefered behavior would result when "Size mti" was _mutable_. But  
> there probably is a good reason for not doing so.

Not that I know of---and I, too, think mutable would give the least  
surprising behavior. If nobody objects, I'm going to change it before next  
release.

Later,
        Luigi