[mlpack-git] master: Set non-overlapping for spill query tree. (9551cc6)

gitdub at mlpack.org gitdub at mlpack.org
Thu Aug 18 13:39:24 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/0f4b25acd6aaa14294c044874ba6cc0751712baa...0a19d07bd39e6223991976474bc79671ba8aa0f0

>---------------------------------------------------------------

commit 9551cc606044d761b9f9ea847ce1c97cab604435
Author: MarcosPividori <marcos.pividori at gmail.com>
Date:   Wed Jul 27 00:05:17 2016 -0300

    Set non-overlapping for spill query tree.


>---------------------------------------------------------------

9551cc606044d761b9f9ea847ce1c97cab604435
 src/mlpack/methods/neighbor_search/ns_model_impl.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/neighbor_search/ns_model_impl.hpp b/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
index 71430e6..1bb3e51 100644
--- a/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
+++ b/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
@@ -81,7 +81,7 @@ void BiSearchVisitor<SortPolicy>::operator()(NSTypeT<tree::SPTree>* ns) const
   {
     if (!ns->Naive() && !ns->SingleMode())
     {
-      typename NSTypeT<tree::SPTree>::Tree queryTree(std::move(querySet), tau,
+      typename NSTypeT<tree::SPTree>::Tree queryTree(std::move(querySet), 0,
           leafSize);
       ns->Search(&queryTree, k, neighbors, distances);
     }




More information about the mlpack-git mailing list