[mlpack-git] master: Make sure traits are active for all cover trees. (a62125b)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Sun Apr 5 18:48:29 EDT 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/c41bc8d54695f1a20b3de551bc80fe7221dd3cd1...81fe638aa0c8d9592bbf7b434110140eb9bb86e7

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

commit a62125b7f77cec5afad98a9963f8966ae8739455
Author: ryan <ryan at ratml.org>
Date:   Sun Apr 5 18:46:48 2015 -0400

    Make sure traits are active for all cover trees.


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

a62125b7f77cec5afad98a9963f8966ae8739455
 src/mlpack/core/tree/cover_tree/traits.hpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/core/tree/cover_tree/traits.hpp b/src/mlpack/core/tree/cover_tree/traits.hpp
index 6f78153..5db5040 100644
--- a/src/mlpack/core/tree/cover_tree/traits.hpp
+++ b/src/mlpack/core/tree/cover_tree/traits.hpp
@@ -21,8 +21,9 @@ namespace tree {
  */
 template<typename MetricType,
          typename RootPointPolicy,
-         typename StatisticType>
-class TreeTraits<CoverTree<MetricType, RootPointPolicy, StatisticType> >
+         typename StatisticType,
+         typename MatType>
+class TreeTraits<CoverTree<MetricType, RootPointPolicy, StatisticType, MatType>>
 {
  public:
   /**



More information about the mlpack-git mailing list