[mlpack-svn] r13381 - mlpack/trunk/src/mlpack/core/tree/cover_tree
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Aug 9 14:40:08 EDT 2012
Author: rcurtin
Date: 2012-08-09 14:40:07 -0400 (Thu, 09 Aug 2012)
New Revision: 13381
Modified:
mlpack/trunk/src/mlpack/core/tree/cover_tree/cover_tree_impl.hpp
mlpack/trunk/src/mlpack/core/tree/cover_tree/single_tree_traverser_impl.hpp
Log:
Some warning cleanup.
Modified: mlpack/trunk/src/mlpack/core/tree/cover_tree/cover_tree_impl.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/cover_tree/cover_tree_impl.hpp 2012-08-09 18:33:51 UTC (rev 13380)
+++ mlpack/trunk/src/mlpack/core/tree/cover_tree/cover_tree_impl.hpp 2012-08-09 18:40:07 UTC (rev 13381)
@@ -449,7 +449,7 @@
template<typename MetricType, typename RootPointPolicy, typename StatisticType>
double CoverTree<MetricType, RootPointPolicy, StatisticType>::MinDistance(
- const arma::vec& other,
+ const arma::vec& /* other */,
const double distance) const
{
return std::max(distance - furthestDescendantDistance, 0.0);
@@ -484,7 +484,7 @@
template<typename MetricType, typename RootPointPolicy, typename StatisticType>
double CoverTree<MetricType, RootPointPolicy, StatisticType>::MaxDistance(
- const arma::vec& other,
+ const arma::vec& /* other */,
const double distance) const
{
return distance + furthestDescendantDistance;
Modified: mlpack/trunk/src/mlpack/core/tree/cover_tree/single_tree_traverser_impl.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/cover_tree/single_tree_traverser_impl.hpp 2012-08-09 18:33:51 UTC (rev 13380)
+++ mlpack/trunk/src/mlpack/core/tree/cover_tree/single_tree_traverser_impl.hpp 2012-08-09 18:40:07 UTC (rev 13381)
@@ -169,7 +169,7 @@
}
// There are no self-leaves; evaluate the base case.
- const double baseCase = rule.BaseCase(queryIndex, point);
+ rule.BaseCase(queryIndex, point);
}
}
More information about the mlpack-svn
mailing list