[mlpack-git] master: fix bug--forgot to put the functions into nameless namespace (3ee8906)
gitdub at mlpack.org
gitdub at mlpack.org
Tue May 31 14:40:14 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/2629a4fd65684e2bd4544d5ef8ea07fa9ad594a7...ee95e2030ddd526368e377b4e1c13484d471e307
>---------------------------------------------------------------
commit 3ee8906a6b2fdc59afd2138ce521cd6763a3eb0c
Author: stereomatchingkiss <stereomatchingkiss at gmail.com>
Date: Wed Jun 1 02:40:14 2016 +0800
fix bug--forgot to put the functions into nameless namespace
>---------------------------------------------------------------
3ee8906a6b2fdc59afd2138ce521cd6763a3eb0c
src/mlpack/core/data/load_impl.hpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mlpack/core/data/load_impl.hpp b/src/mlpack/core/data/load_impl.hpp
index e3b3860..8f29837 100644
--- a/src/mlpack/core/data/load_impl.hpp
+++ b/src/mlpack/core/data/load_impl.hpp
@@ -31,6 +31,8 @@ namespace data {
namespace details{
+namespace{
+
template<typename Tokenizer>
std::vector<std::string> ToTokens(Tokenizer &lineTok)
{
@@ -97,6 +99,8 @@ void MapToNumerical(const std::vector<std::string> &tokens,
}
+}
+
template<typename eT>
bool inline inplace_transpose(arma::Mat<eT>& X)
{
More information about the mlpack-git
mailing list