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:
authorYury Melnichek <melnichek@gmail.com>2011-10-10 04:09:07 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:25:43 +0300
commit9a9f76e18510c0fd1608f8e637e4811866373db1 (patch)
treee4d2c80f9ea5c25bd195365d8559167f0ccbe7e3 /indexer/feature_covering.cpp
parent02bb18b2dabd83ab01c97647da7cd369f7d4c9f6 (diff)
Fix bug in covering: pass cell depth to CoverObject().
Diffstat (limited to 'indexer/feature_covering.cpp')
-rw-r--r--indexer/feature_covering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature_covering.cpp b/indexer/feature_covering.cpp
index dfc47aeea8..1a9179e59d 100644
--- a/indexer/feature_covering.cpp
+++ b/indexer/feature_covering.cpp
@@ -114,7 +114,7 @@ vector<int64_t> CoverFeature(FeatureType const & f, int cellDepth, uint64_t cell
}
vector<RectId> cells;
- covering::CoverObject(featureIntersector, cellPenaltyArea, cells, RectId::Root());
+ covering::CoverObject(featureIntersector, cellPenaltyArea, cells, cellDepth, RectId::Root());
vector<int64_t> res(cells.size());
for (size_t i = 0; i < cells.size(); ++i)