[mlpack-git] master: There is a bug in ReturnIndicesFromTable (a48c842)
gitdub at mlpack.org
gitdub at mlpack.org
Thu Jun 30 15:11:36 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/eaa7182ebed8cce3fd6191dc1f8170546ea297da...812048c7c6bee0b6c8d936677f23bbb5930c6cfc
>---------------------------------------------------------------
commit a48c8426372e31daee10572757e1497ef33136e5
Author: Yannis Mentekidis <mentekid at gmail.com>
Date: Wed Jun 8 21:23:14 2016 +0300
There is a bug in ReturnIndicesFromTable
>---------------------------------------------------------------
a48c8426372e31daee10572757e1497ef33136e5
src/mlpack/methods/lsh/lsh_search_impl.hpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/mlpack/methods/lsh/lsh_search_impl.hpp b/src/mlpack/methods/lsh/lsh_search_impl.hpp
index f5c9781..e90a84d 100644
--- a/src/mlpack/methods/lsh/lsh_search_impl.hpp
+++ b/src/mlpack/methods/lsh/lsh_search_impl.hpp
@@ -639,7 +639,6 @@ void LSHSearch<SortPolicy>::ReturnIndicesFromTable(
hashMat.row(0) = hashVec;
}
- std::cout<<hashMat<<std::endl;
// Count number of points hashed in the same bucket as the query
size_t maxNumPoints = 0;
@@ -694,7 +693,6 @@ void LSHSearch<SortPolicy>::ReturnIndicesFromTable(
}
// Only keep reference points found in at least one bucket.
- std::cout<<"find"<<std::endl;
referenceIndices = arma::find(refPointsConsidered > 0);
return;
}
More information about the mlpack-git
mailing list