fixed small bug in angle results, made random generation stuff backwards compatible with boost (hopefully)

This commit is contained in:
Bill March
2011-10-31 19:29:32 +00:00
parent 7ccdfd40c9
commit 4bc4c20788
2 changed files with 9 additions and 7 deletions
+3 -2
View File
@@ -62,8 +62,9 @@ void npt::AngleResults::ProcessResults(std::vector<int>& region_ids,
}
} // check the invalid region ids
AddResult_(i, num_random, matcher.results());
if (!skip_me) {
AddResult_(i, num_random, matcher.results());
}
} // for i
}
@@ -10,11 +10,12 @@
#ifndef GENERATE_RANDOM_PROBLEM_H
#define GENERATE_RANDOM_PROBLEM_H
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_int_distribution.hpp>
#include <boost/random/uniform_real_distribution.hpp>
#include <boost/random/uniform_01.hpp>
#include <boost/random/variate_generator.hpp>
//#include <boost/random/mersenne_twister.hpp>
//#include <boost/random/uniform_int_distribution.hpp>
//#include <boost/random/uniform_real_distribution.hpp>
//#include <boost/random/uniform_01.hpp>
//#include <boost/random/variate_generator.hpp>
#include <boost/random.hpp>
#include <mlpack/core.h>