[mlpack-svn] r14373 - mlpack/trunk/src/mlpack/methods/rann
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Feb 22 18:14:22 EST 2013
Author: rcurtin
Date: 2013-02-22 18:14:22 -0500 (Fri, 22 Feb 2013)
New Revision: 14373
Modified:
mlpack/trunk/src/mlpack/methods/rann/ra_search.hpp
Log:
Still use L2-squared distance by default; this needs to be fixed.
Modified: mlpack/trunk/src/mlpack/methods/rann/ra_search.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/rann/ra_search.hpp 2013-02-22 23:13:54 UTC (rev 14372)
+++ mlpack/trunk/src/mlpack/methods/rann/ra_search.hpp 2013-02-22 23:14:22 UTC (rev 14373)
@@ -112,7 +112,7 @@
*/
template<typename SortPolicy = NearestNeighborSort,
typename MetricType = mlpack::metric::SquaredEuclideanDistance,
- typename TreeType = tree::BinarySpaceTree<bound::HRectBound<2>,
+ typename TreeType = tree::BinarySpaceTree<bound::HRectBound<2, false>,
RAQueryStat<SortPolicy> > >
class RASearch
{
More information about the mlpack-svn
mailing list