$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2008-08-13 04:59:32
Richard Webb wrote:
> The std_run_random test is failing on VC9 SP1
> (http://tinyurl.com/64xsr5), seemingly because the mersenne_twister
> implementation doesn't like being seeded with 0:
>
> ///////////////
>
> void seed(unsigned long _X0 = default_seed)
> { // set initial values from specified value
> _RNG_ASSERT(0 < _X0,
> "invalid argument for mersenne_twister::seed");
>
> ///////////////
>
> Is that a bug in SP1, or an incorrect test?
Ah, I believe it may be the test that's incorrect: I've checked the TR text
and it's very specific about what seed does, and a zero value makes no real
sense. I'll fix the test.
Thanks for the catch, John.