[mlpack-git] master: Remove the IsHollowBallBound struct. (31ed87b)

gitdub at mlpack.org gitdub at mlpack.org
Sat Aug 13 13:55:35 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/8a0ad2fbe4db5614a6aad27cfb5e101ae8b1db96...dc6bae4e8634486b384b67e3ae7a690f34bdc677

>---------------------------------------------------------------

commit 31ed87bd21d18fd89be842600ce3b1553221eb39
Author: Mikhail Lozhnikov <lozhnikovma at gmail.com>
Date:   Sat Aug 13 20:55:35 2016 +0300

    Remove the IsHollowBallBound struct.


>---------------------------------------------------------------

31ed87bd21d18fd89be842600ce3b1553221eb39
 src/mlpack/core/tree/hollow_ball_bound.hpp | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/src/mlpack/core/tree/hollow_ball_bound.hpp b/src/mlpack/core/tree/hollow_ball_bound.hpp
index 0a39485..03cc268 100644
--- a/src/mlpack/core/tree/hollow_ball_bound.hpp
+++ b/src/mlpack/core/tree/hollow_ball_bound.hpp
@@ -221,21 +221,6 @@ struct BoundTraits<HollowBallBound<MetricType, ElemType>>
   const static bool HasTightBounds = false;
 };
 
-namespace meta {
-
-template<typename BoundType>
-struct IsHollowBallBound
-{
-  static const bool value = false;
-};
-
-template<typename MetricType, typename ElemType>
-struct IsHollowBallBound<HollowBallBound<MetricType, ElemType>>
-{
-  static const bool value = true;
-};
-
-} // namespace meta
 } // namespace bound
 } // namespace mlpack
 




More information about the mlpack-git mailing list