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()
|
void runPerturb()
|
||||||
{
|
{
|
||||||
// Set up random number generator
|
// Set up random number generator
|
||||||
boost::random::mt19937 rng;
|
boost::mt19937 rng;
|
||||||
boost::random::normal_distribution<double> normal(0.0, perturbationNoise);
|
boost::normal_distribution<double> normal(0.0, perturbationNoise);
|
||||||
|
|
||||||
// Perturb values
|
// Perturb values
|
||||||
VectorValues noise;
|
VectorValues noise;
|
||||||
|
|
Loading…
Reference in New Issue