From 4773efbb117d2b56991d2b95fa5418ef1aa28fb6 Mon Sep 17 00:00:00 2001 From: Yannis Mentekidis Date: Wed, 1 Jun 2016 09:32:45 +0300 Subject: [PATCH] Fixes naming conventions of accessors --- 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 f79b0cf758..d5389d4091 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& SecondHashTable() const { return secondHashTable; } //! Get the projection tables. - const std::vector getProjectionTables() { return projections; } + const std::vector Projections() { return projections; } //! Change the projection tables (Retrains object) - void setProjectionTables(std::vector projTables) + void Projections(const std::vector &projTables) { // Simply call Train() with given projection tables Train(