mirror of
https://github.com/jlblancoc/nanoflann.git
synced 2026-01-16 21:01:17 +01:00
fix return type
This commit is contained in:
@@ -1748,7 +1748,7 @@ class KDTreeSingleIndexAdaptor
|
||||
template <typename RESULTSET>
|
||||
Size findWithinBox(RESULTSET& result, const BoundingBox& bbox) const
|
||||
{
|
||||
if (this->size(*this) == 0) return false;
|
||||
if (this->size(*this) == 0) return 0;
|
||||
if (!Base::root_node_)
|
||||
throw std::runtime_error(
|
||||
"[nanoflann] findWithinBox() called before building the "
|
||||
|
||||
Reference in New Issue
Block a user