diff options
author | vng <viktor.govako@gmail.com> | 2012-06-15 04:30:36 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:39:50 +0300 |
commit | d30dad374e6c6febd228cdd9aeda828e9a30165a (patch) | |
tree | 5bedc8fda6ed548e67fdf05fd725548d34b74c3b /indexer | |
parent | cd104f6ef648851b865b5f81fa2504d268bb01d1 (diff) |
Minor change.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/feature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp index 01e1210f3b..d2c387704e 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -297,7 +297,7 @@ uint32_t FeatureType::GetPopulation() const if (m_Params.rank == 0) return 1; - return static_cast<uint32_t>(min(double(uint32_t(-1)), pow(1.1, m_Params.rank))); + return static_cast<uint32_t>(pow(1.1, m_Params.rank)); } double FeatureType::GetPopulationDrawRank() const |