Using boost random from 'boost' namespace instead of boost::random for compatibility with boost < 1.47
parent
ec19643840
commit
5ecfac348c
|
@ -536,8 +536,8 @@ void runCompare()
|
|||
void runPerturb()
|
||||
{
|
||||
// Set up random number generator
|
||||
boost::random::mt19937 rng;
|
||||
boost::random::normal_distribution<double> normal(0.0, perturbationNoise);
|
||||
boost::mt19937 rng;
|
||||
boost::normal_distribution<double> normal(0.0, perturbationNoise);
|
||||
|
||||
// Perturb values
|
||||
VectorValues noise;
|
||||
|
|
Loading…
Reference in New Issue