Fix overflows when handling size_t

This commit is contained in:
Patrick Niklaus
2015-03-08 00:53:15 +01:00
parent 0c735953c9
commit 028fad94af
2 changed files with 16 additions and 16 deletions
-1
View File
@@ -41,7 +41,6 @@ namespace osrm
{
namespace matching
{
// FIXME this value should be a table based on samples/meter (or samples/min)
static const double log_2_pi = std::log(2. * M_PI);
static const double IMPOSSIBLE_LOG_PROB = -std::numeric_limits<double>::infinity();
static const double MINIMAL_LOG_PROB = std::numeric_limits<double>::lowest();