<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68061002">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>> for (size_t i = 0; i < hashVec.n_elem; i++)
> hashVec[i] = (double) ((size_t) hashVec[i] % secondHashSize);
>
> Log::Assert(hashVec.n_elem == numTablesToSearch);
>
> + // Compute hashVectors of additional probing bins
> + arma::mat hashMat;
> + if (T > 0)
> + {
> + hashMat.zeros(T, numTablesToSearch);
</pre>
<p>If I concatenate a (T x numTablesToSearch) matrix with a (1 x numTablesToSearch) vector, won't I get a T+1 row matrix? </p>
<p>I understood from armadillo documnetation that <code>join_vert</code> resizes hashMat. Am I throwing the last vector away like that?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/691/files/fa7f62da6a4cfe7fa45e297d7a4a1491c9c39bb1#r68061002">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFE7Cau_3pbwAxo30CXF_aOEv71XFks5qOUQqgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFNV6zn33awNgOZE-iUhZLuoH12lLks5qOUQqgaJpZM4IxQW5.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/691/files/fa7f62da6a4cfe7fa45e297d7a4a1491c9c39bb1#r68061002"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>