[mlpack-git] master: Fix error, a balltree should use ballbounds instead of hrectbounds. (706f0ee)
gitdub at mlpack.org
gitdub at mlpack.org
Fri May 27 20:21:36 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/3d1ed0fa731b4f34d0c02ae63c37d4106e23a9f8...2fe9e82b63507ef60440c22c93d85d058023535c
>---------------------------------------------------------------
commit 706f0ee9307effc4f240d16ee398a8a1ee71a64c
Author: MarcosPividori <marcos.pividori at gmail.com>
Date: Fri May 27 20:56:23 2016 -0300
Fix error, a balltree should use ballbounds instead of hrectbounds.
>---------------------------------------------------------------
706f0ee9307effc4f240d16ee398a8a1ee71a64c
src/mlpack/core/tree/binary_space_tree/typedef.hpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/core/tree/binary_space_tree/typedef.hpp b/src/mlpack/core/tree/binary_space_tree/typedef.hpp
index 7d58f67..28145d1 100644
--- a/src/mlpack/core/tree/binary_space_tree/typedef.hpp
+++ b/src/mlpack/core/tree/binary_space_tree/typedef.hpp
@@ -103,7 +103,7 @@ template<typename MetricType, typename StatisticType, typename MatType>
using BallTree = BinarySpaceTree<MetricType,
StatisticType,
MatType,
- bound::HRectBound,
+ bound::BallBound,
MidpointSplit>;
/**
@@ -132,7 +132,7 @@ template<typename MetricType, typename StatisticType, typename MatType>
using MeanSplitBallTree = BinarySpaceTree<MetricType,
StatisticType,
MatType,
- bound::HRectBound,
+ bound::BallBound,
MeanSplit>;
} // namespace tree
More information about the mlpack-git
mailing list