[mlpack-git] master: Fix function signature. (b25508f)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Tue Oct 20 09:48:11 EDT 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/67e0a132c7f62820c734eb508fe1bc83128a3e13...00eccfdb0d315de3d94bfa1da84cc1dc65c8af39

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

commit b25508fea015f2cbe97aeccf7fb4582afae3bd15
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Oct 20 12:59:48 2015 +0000

    Fix function signature.


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

b25508fea015f2cbe97aeccf7fb4582afae3bd15
 src/mlpack/methods/neighbor_search/ns_model_impl.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/neighbor_search/ns_model_impl.hpp b/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
index 5eb5511..1245ab8 100644
--- a/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
+++ b/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
@@ -452,7 +452,7 @@ void NSModel<SortPolicy>::Search(const size_t k,
 
 //! Get the name of the tree type.
 template<typename SortPolicy>
-void NSModel<SortPolicy>::TreeName() const
+std::string NSModel<SortPolicy>::TreeName() const
 {
   switch (treeType)
   {



More information about the mlpack-git mailing list