From 023441f859d3a428b10d1782d5d637eebd3368fa Mon Sep 17 00:00:00 2001 From: vng Date: Thu, 18 Feb 2016 18:18:49 +0300 Subject: [PATCH] Review fixes. --- indexer/feature_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(my::rounds(pow(1.1, r)))); + return static_cast(pow(1.1, r)); } } // namespace feature