Fix conditionally built tool
This commit is contained in:
parent
7c06726a35
commit
26987f9049
@ -20,9 +20,7 @@
|
|||||||
#include <random>
|
#include <random>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace osrm
|
namespace osrm::tools
|
||||||
{
|
|
||||||
namespace tools
|
|
||||||
{
|
{
|
||||||
|
|
||||||
const unsigned NUMBER_OF_ELEMENTS = 268435456;
|
const unsigned NUMBER_OF_ELEMENTS = 268435456;
|
||||||
@ -45,8 +43,7 @@ void runStatistics(std::vector<double> &timings_vector, Statistics &stats)
|
|||||||
timings_vector.begin(), timings_vector.end(), timings_vector.begin(), 0.0);
|
timings_vector.begin(), timings_vector.end(), timings_vector.begin(), 0.0);
|
||||||
stats.dev = std::sqrt(primary_sq_sum / timings_vector.size() - (stats.mean * stats.mean));
|
stats.dev = std::sqrt(primary_sq_sum / timings_vector.size() - (stats.mean * stats.mean));
|
||||||
}
|
}
|
||||||
} // namespace tools
|
} // namespace osrm::tools
|
||||||
} // namespace osrm
|
|
||||||
|
|
||||||
boost::filesystem::path test_path;
|
boost::filesystem::path test_path;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user