[mlpack-git] master: Typo fix (039af23)
gitdub at mlpack.org
gitdub at mlpack.org
Fri Jun 24 05:01:22 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/eaa7182ebed8cce3fd6191dc1f8170546ea297da...812048c7c6bee0b6c8d936677f23bbb5930c6cfc
>---------------------------------------------------------------
commit 039af231fc0a5c68cd1137d02968ab410fbface7
Author: Yannis Mentekidis <mentekid at gmail.com>
Date: Fri Jun 24 10:01:22 2016 +0100
Typo fix
>---------------------------------------------------------------
039af231fc0a5c68cd1137d02968ab410fbface7
src/mlpack/methods/lsh/lsh_search_impl.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mlpack/methods/lsh/lsh_search_impl.hpp b/src/mlpack/methods/lsh/lsh_search_impl.hpp
index bf9dd5b..546f802 100644
--- a/src/mlpack/methods/lsh/lsh_search_impl.hpp
+++ b/src/mlpack/methods/lsh/lsh_search_impl.hpp
@@ -411,7 +411,7 @@ inline double perturbationScore(const std::vector<bool>& A,
double score = 0.0;
for (size_t i = 0; i < A.size(); ++i)
if (A[i])
- score += scores(i) // add scores of non-zero indices
+ score += scores(i); // add scores of non-zero indices
return score;
}
More information about the mlpack-git
mailing list