Using boost random from 'boost' namespace instead of boost::random for compatibility with boost < 1.47
parent
275dc13214
commit
2e10f6fe4a
|
|
@ -499,8 +499,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