[mlpack-git] master: Fix missing name of octree for NSModel. (e498722)

gitdub at mlpack.org gitdub at mlpack.org
Mon Oct 3 14:41:04 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/9ef7339d40550a974b3939e9fcb966fac2c09065...ebdb5abeaa3fd621a06ae663862bb72df76d2b40

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

commit e4987227d098aad27cf8f5188d7819277aa98e64
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon Oct 3 14:41:04 2016 -0400

    Fix missing name of octree for NSModel.


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

e4987227d098aad27cf8f5188d7819277aa98e64
 src/mlpack/methods/neighbor_search/ns_model_impl.hpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mlpack/methods/neighbor_search/ns_model_impl.hpp b/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
index c2d6c6b..5cd9e9d 100644
--- a/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
+++ b/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
@@ -620,6 +620,8 @@ std::string NSModel<SortPolicy>::TreeName() const
       return "random projection tree (max split)";
     case UB_TREE:
       return "UB tree";
+    case OCTREE:
+      return "octree";
     default:
       return "unknown tree";
   }




More information about the mlpack-git mailing list