Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2016-02-18 18:18:49 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:21:27 +0300
commit023441f859d3a428b10d1782d5d637eebd3368fa (patch)
treefd8430f5d305006936ebb452a1339f829625e51d /indexer/feature_impl.cpp
parent519e60dc3f675035281acf8fee4b2203a40e19fa (diff)
Review fixes.
Diffstat (limited to 'indexer/feature_impl.cpp')
-rw-r--r--indexer/feature_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature_impl.cpp b/indexer/feature_impl.cpp
index a20f19f03d..27341e2f86 100644
--- a/indexer/feature_impl.cpp
+++ b/indexer/feature_impl.cpp
@@ -80,7 +80,7 @@ uint8_t PopulationToRank(uint64_t p)
uint64_t RankToPopulation(uint8_t r)
{
- return (r == 0 ? 1 : static_cast<uint64_t>(my::rounds(pow(1.1, r))));
+ return static_cast<uint64_t>(pow(1.1, r));
}
} // namespace feature