Remove junk
This commit is contained in:
parent
de3cbd483d
commit
2cb74013be
1 changed files with 1 additions and 3 deletions
|
@ -206,10 +206,8 @@ public:
|
||||||
|
|
||||||
namespace bgi = boost::geometry::index;
|
namespace bgi = boost::geometry::index;
|
||||||
|
|
||||||
size_t cnt = 0;
|
|
||||||
auto filter = bgi::satisfies(
|
auto filter = bgi::satisfies(
|
||||||
[this, &pos, min_dist, &cnt](const PointIndexEl &e) {
|
[this, &pos, min_dist](const PointIndexEl &e) {
|
||||||
cnt++;
|
|
||||||
double d = get_distance(pos, e.second);
|
double d = get_distance(pos, e.second);
|
||||||
return m_searchable_indices[e.second] && !isinf(d) && d > min_dist;
|
return m_searchable_indices[e.second] && !isinf(d) && d > min_dist;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue