
8 Jul
2009
8 Jul
'09
5:02 p.m.
randomNumberGenerator::randomNumberGenerator( const uint32_t s ) { boost::uniform_01<boost::mt19937&, double> * ran_boost = new boost::uniform_01<boost::mt19937&, double>( rng_mt_boost ); rng_mt_boost.seed( s );
You're creating a local variable here, not initializing the member ran_boost.
Oh, what a stupid mistake! Thanks for pointing it out so quickly. Cheers, Oliver