<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68646513">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>&gt;  {
&gt;    // This is monochromatic search; the query set is the reference set.
&gt;    resultingNeighbors.set_size(k, referenceSet-&gt;n_cols);
&gt;    distances.set_size(k, referenceSet-&gt;n_cols);
&gt;    distances.fill(SortPolicy::WorstDistance());
&gt;    resultingNeighbors.fill(referenceSet-&gt;n_cols);
&gt;  
&gt; +  // If the user requested more than the available number of additional probing
&gt; +  // bins, set Teffective to maximum T. Maximum T is 2^numProj - 1
&gt; +  size_t Teffective = T;
&gt; +  if (T &gt; ( (size_t) ( (1 &lt;&lt; numProj) - 1) ) )
&gt; +  {
&gt; +    Teffective = ( 1 &lt;&lt; numProj ) - 1;
&gt; +    Log::Warn &lt;&lt; &quot;Requested &quot; &lt;&lt; T &lt;&lt; 
&gt; +      &quot; additional bins are more than theoretical maximum. Using &quot; &lt;&lt;
&gt; +      Teffective &lt;&lt; &quot; instead.&quot; &lt;&lt; std::endl;
&gt; +  }
&gt; +
&gt; +  // If the user set multiprobe, log it
&gt; +  if (T &gt; 0)
</pre>
<p>Same here, should we be checking <code>Teffective</code>?</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#r68646513">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFJdwUJuZhGL947lzucexJyC6nHGAks5qQC4TgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFNMBlpqt3vE8VqG-pgBz31Ieg4F7ks5qQC4TgaJpZM4IxQW5.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#r68646513"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>