[mlpack-svn] r15625 - mlpack/trunk/src/mlpack/methods/range_search

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Aug 15 17:13:09 EDT 2013


Author: marcus
Date: Thu Aug 15 17:13:09 2013
New Revision: 15625

Log:
Ignore the cover_tree option if the naive option is present.

Modified:
   mlpack/trunk/src/mlpack/methods/range_search/range_search_main.cpp

Modified: mlpack/trunk/src/mlpack/methods/range_search/range_search_main.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/methods/range_search/range_search_main.cpp	(original)
+++ mlpack/trunk/src/mlpack/methods/range_search/range_search_main.cpp	Thu Aug 15 17:13:09 2013
@@ -129,7 +129,7 @@
   vector<vector<double> > distances;
 
   // The cover tree implies different types, so we must split this section.
-  if (CLI::HasParam("cover_tree"))
+  if (coverTree)
   {
     Log::Info << "Using cover trees." << endl;
 



More information about the mlpack-svn mailing list