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(