mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-27 20:20:49 +00:00
fix error
This commit is contained in:
parent
8723b42bcb
commit
960945aa15
@ -59,7 +59,7 @@ std::unique_ptr<ICell> GridRoot::makeCell(Float64 current_min_x, Float64 current
|
||||
return !bg::intersects(current_box, polygons[id]);
|
||||
}), possible_ids.end());
|
||||
if (possible_ids.size() <= kMinIntersections || depth++ == kMaxDepth)
|
||||
return std::make_unique<FinalCell>(possible_ids);
|
||||
return std::make_unique<FinalCell>(possible_ids, polygons, current_box);
|
||||
auto x_shift = (current_max_x - current_min_x) / kSplit;
|
||||
auto y_shift = (current_max_y - current_min_y) / kSplit;
|
||||
std::vector<std::unique_ptr<ICell>> children;
|
||||
|
Loading…
Reference in New Issue
Block a user