We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File neighbor_search_impl.hpp on method: void NeighborSearch<SortPolicy, MetricType, MatType, TreeType, TraversalType>:: Search(const MatType& querySet, const size_t k, arma::Mat<size_t>& neighbors, arma::mat& distances)
At line 461: ---> delete neighborPtr;
But in this case, when treeOwner is false, the matrix neighborPtr is not allocated with "new".
The text was updated successfully, but these errors were encountered:
962a37f
Nice catch! Thanks so much for pointing this out.
Sorry, something went wrong.
No branches or pull requests
File neighbor_search_impl.hpp
on method:
void NeighborSearch<SortPolicy, MetricType, MatType, TreeType, TraversalType>::
Search(const MatType& querySet,
const size_t k,
arma::Mat<size_t>& neighbors,
arma::mat& distances)
At line 461:
---> delete neighborPtr;
But in this case, when treeOwner is false, the matrix neighborPtr is not allocated with "new".
The text was updated successfully, but these errors were encountered: