Fix conditionally built tool

This commit is contained in:
Dennis Luxen 2022-12-21 15:52:09 +01:00
parent 7c06726a35
commit 26987f9049

View File

@ -20,9 +20,7 @@
#include <random>
#include <vector>
namespace osrm
{
namespace tools
namespace osrm::tools
{
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);
stats.dev = std::sqrt(primary_sq_sum / timings_vector.size() - (stats.mean * stats.mean));
}
} // namespace tools
} // namespace osrm
} // namespace osrm::tools
boost::filesystem::path test_path;