[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/1f562a1aba7ae55475afcc95659511c2b7f694e5...5b8fdce471328f722fcd8c0f22a6d995ce22c98b
>---------------------------------------------------------------
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