fixed small bug in angle results, made random generation stuff backwards compatible with boost (hopefully)
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user