[mlpack-git] master: Fixes naming conventions of accessors (4773efb)
gitdub at mlpack.org
gitdub at mlpack.org
Wed Jun 1 02:32:45 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/1f562a1aba7ae55475afcc95659511c2b7f694e5...5b8fdce471328f722fcd8c0f22a6d995ce22c98b
>---------------------------------------------------------------
commit 4773efbb117d2b56991d2b95fa5418ef1aa28fb6
Author: Yannis Mentekidis <mentekid at gmail.com>
Date: Wed Jun 1 09:32:45 2016 +0300
Fixes naming conventions of accessors
>---------------------------------------------------------------
4773efbb117d2b56991d2b95fa5418ef1aa28fb6
src/mlpack/methods/lsh/lsh_search.hpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/methods/lsh/lsh_search.hpp b/src/mlpack/methods/lsh/lsh_search.hpp
index f79b0cf..d5389d4 100644
--- a/src/mlpack/methods/lsh/lsh_search.hpp
+++ b/src/mlpack/methods/lsh/lsh_search.hpp
@@ -179,10 +179,10 @@ class LSHSearch
const arma::Mat<size_t>& SecondHashTable() const { return secondHashTable; }
//! Get the projection tables.
- const std::vector<arma::mat> getProjectionTables() { return projections; }
+ const std::vector<arma::mat> Projections() { return projections; }
//! Change the projection tables (Retrains object)
- void setProjectionTables(std::vector<arma::mat> projTables)
+ void Projections(const std::vector<arma::mat> &projTables)
{
// Simply call Train() with given projection tables
Train(
More information about the mlpack-git
mailing list