Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2008-08-13 05:00:51


Richard Webb wrote:
> As an observation, i see that the mersenne_twister in
> boost/tr1/random.hpp says:
>
> void seed(unsigned long value)
> { m_gen.seed(value == 0 ? 5489UL : value); }
>
> and the constructor says:
>
> explicit mersenne_twister(unsigned long value)
> : m_gen(value == 0 ? 4357UL : value){}
>
>
> Should those both be 5489?

Yep, will fix, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk