[mlpack] 55/324: Inline the simple R tree descent heuristic.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:21:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit b30e5099283f8946e7b8fc36abfb9c5116b55bab
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Wed Jun 11 20:23:37 2014 +0000

    Inline the simple R tree descent heuristic.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16684 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic_impl.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic_impl.hpp b/src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic_impl.hpp
index 8ca04da..7c15a22 100644
--- a/src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic_impl.hpp
+++ b/src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic_impl.hpp
@@ -13,7 +13,7 @@
 namespace mlpack {
 namespace tree {
 
-double RTreeDescentHeuristic::EvalNode(const HRectBound<>& bound, const arma::vec& point)
+inline double RTreeDescentHeuristic::EvalNode(const HRectBound<>& bound, const arma::vec& point)
 {
   return bound.Contains(point) ? 0 : bound.MinDistance(point);
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list