[mlpack-git] master: Set defeatist traverser for spill search class. (b334674)

gitdub at mlpack.org gitdub at mlpack.org
Wed Aug 17 00:16:04 EDT 2016


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

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

commit b334674a12817b3e4b3f37ac6f99eb52bfd3e44c
Author: MarcosPividori <marcos.pividori at gmail.com>
Date:   Wed Aug 17 01:16:04 2016 -0300

    Set defeatist traverser for spill search class.


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

b334674a12817b3e4b3f37ac6f99eb52bfd3e44c
 src/mlpack/methods/neighbor_search/spill_search.hpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/methods/neighbor_search/spill_search.hpp b/src/mlpack/methods/neighbor_search/spill_search.hpp
index 8437012..20053a0 100644
--- a/src/mlpack/methods/neighbor_search/spill_search.hpp
+++ b/src/mlpack/methods/neighbor_search/spill_search.hpp
@@ -293,8 +293,12 @@ class SpillSearch
 
  private:
   //! Internal instance of NeighborSearch class.
-  NeighborSearch<NearestNeighborSort, MetricType, MatType, TreeType>
-      neighborSearch;
+  NeighborSearch<NearestNeighborSort,
+                 MetricType,
+                 MatType,
+                 TreeType,
+                 Tree::template DefeatistDualTreeTraverser,
+                 Tree::template DefeatistSingleTreeTraverser> neighborSearch;
 
   //! Overlapping size.
   double tau;




More information about the mlpack-git mailing list