<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68644393">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; +  // Use check to mark dimensions we have seen before in A. If a dimension is
&gt; +  // seen twice (or more), A is not a valid perturbation.
&gt; +  std::vector&lt;bool&gt; check(numProj);
&gt; +
&gt; +  if (A.size() &gt; 2 * numProj)
&gt; +    return false; // This should never happen.
&gt; +
&gt; +  // Check that we only see each dimension once. If not, vector is not valid.
&gt; +  for (size_t i = 0; i &lt; A.size(); ++i)
&gt; +  {
&gt; +    // Only check dimensions that were included.
&gt; +    if (!A[i])
&gt; +      continue;
&gt; +
&gt; +    // If dimesnion is unseen thus far, mark it as seen.
&gt; +    if ( check[i % numProj] == false )
</pre>
<p>Extra spaces on the inside of the parentheses; we should go with <code>if (check[i % numProj] == false)</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#r68644393">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFN_RnZrsQztAztgDyuNSDmjyEExTks5qQCrLgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFFZVblObmfB2S8wjuLEAiy1jjRq2ks5qQCrLgaJpZM4IxQW5.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#r68644393"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>