<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68644962">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; +      if ( minscore2 &gt; scores[s] &amp;&amp; s != minloc) //second smallest
&gt; +      {
&gt; +        minscore2 = scores[s];
&gt; +        minloc2 = s;
&gt; +      }
&gt; +    }
&gt; +
&gt; +    // Add or subtract 1 to create second-lowest scoring vector.
&gt; +    additionalProbingBins(positions[minloc2], 1) += actions[minloc2];
&gt; +    return;
&gt; +  }
&gt; +
&gt; +  // General case: more than 2 perturbation vectors require use of minheap.
&gt; +
&gt; +  // Sort everything in increasing order.
&gt; +  arma::Col&lt;long long unsigned int&gt; sortidx = arma::sort_index(scores);
</pre>
<p>I think this was mentioned somewhere else, so forgive any redundancy, but probably <code>arma::uword</code> should be used here instead of <code>long long unsigned int</code>.  You can just use <code>arma::uvec</code> since that is a typedef of <code>arma::Col&lt;arma::uword&gt;</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#r68644962">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFPY8kzKu0ADBQWjfWRcXZ5V5bWxsks5qQCuggaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFLYtt85wHajXXK2A8YxALvRa-q39ks5qQCuggaJpZM4IxQW5.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#r68644962"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>