|
Boost : |
From: Richard Webb (richard.webb_at_[hidden])
Date: 2008-08-12 12:38:46
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?
Thanks,
Richard Webb
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk