<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68645804">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; +    queryCodesNotFloored.unsafe_col(i) = projections.slice(i).t() * queryPoint;
&gt; +  queryCodesNotFloored += offsets.cols(0, numTablesToSearch - 1);
&gt; +  allProjInTables = arma::floor(queryCodesNotFloored/hashWidth);
&gt; +
&gt; +
&gt; +  // Use hashMat to store the primary probing codes and any additional codes
&gt; +  // from multiprobe LSH.
&gt; +  arma::Mat&lt;size_t&gt; hashMat;
&gt; +  hashMat.set_size(T + 1, numTablesToSearch);
&gt; +
&gt; +  // Compute the primary hash value of each key of the query into a bucket of
&gt; +  // the secondHashTable using the secondHashWeights.
&gt; +  hashMat.row(0) = 
&gt; +    arma::conv_to&lt; arma::Row&lt;size_t&gt; &gt;:: // floor by typecasting to size_t
&gt; +    from( secondHashWeights.t() * allProjInTables );
&gt; +  // mod to compute 2nd-level codes
</pre>
<p>Again I feel really pedantic saying this but if this comment can be a complete sentence it would be more clear. :)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<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/71eda99e207a9b91581504e11a9e14d38838bc9f#r68645804">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFFxl04Iqj4Tg_LnAl-cgS8wAhEtYks5qQCz3gaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPGm-2dqAGpkPVWgyUO0BIDqgHniks5qQCz3gaJpZM4IxQW5.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/71eda99e207a9b91581504e11a9e14d38838bc9f#r68645804"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>