<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68644835">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; +
&gt; +    // Now, find location of second smallest score and generate one more vector.
&gt; +    // The second perturbation vector still can&#39;t comprise of more than one
&gt; +    // change in the bin codes, because of the way perturbation vectors
&gt; +    // are generated: First we create the one with the smallest score (Ao) and
&gt; +    // then we either add 1 extra dimension to it (Ae) or shift it by one (As).
&gt; +    // Since As contains the second smallest score, and Ae contains both the
&gt; +    // smallest and the second smallest, it&#39;s obvious that score(Ae) &gt;
&gt; +    // score(As). Therefore the second perturbation vector is ALWAYS the vector
&gt; +    // containing only the second-lowest scoring perturbation.
&gt; +    
&gt; +    double minscore2 = scores[0];
&gt; +    size_t minloc2 = 0;
&gt; +    for (size_t s = 0; s &lt; (2 * numProj); ++s) // here we can&#39;t start from 1
&gt; +    {
&gt; +      if ( minscore2 &gt; scores[s] &amp;&amp; s != minloc) //second smallest
</pre>
<p>Extra space after opening parenthesis.</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#r68644835">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFJIU0q-Xc98K3eRkUt35EcaH4Wg9ks5qQCtsgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFCjCFSsNmcOVw_i47wiDSZfLaN2Cks5qQCtsgaJpZM4IxQW5.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#r68644835"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>