[mlpack] 23/207: Transpose is one word, no need for camelcase.

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu Mar 23 17:53:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit 71cc647feba92c146b770a7616d730e69212b459
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Jan 18 16:48:12 2017 -0500

    Transpose is one word, no need for camelcase.
---
 src/mlpack/core/data/load_impl.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/core/data/load_impl.hpp b/src/mlpack/core/data/load_impl.hpp
index 74f77ea..9bde286 100644
--- a/src/mlpack/core/data/load_impl.hpp
+++ b/src/mlpack/core/data/load_impl.hpp
@@ -53,7 +53,7 @@ std::vector<std::string> ToTokens(Tokenizer &lineTok)
 }
 
 inline
-void TransPoseTokens(std::vector<std::vector<std::string>> const &input,
+void TransposeTokens(std::vector<std::vector<std::string>> const &input,
                      std::vector<std::string> &output,
                      size_t index)
 {
@@ -442,7 +442,7 @@ bool Load(const std::string& filename,
       }
       for(size_t i = 0; i != cols; ++i)
       {
-        details::TransPoseTokens(tokensArray, tokens, i);
+        details::TransposeTokens(tokensArray, tokens, i);
         info.MapTokens(tokens, i, matrix);
       }
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list