<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68645407">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>> + }
> +
> + // Expand operation on Ai (add max+1 to set).
> + std::vector<bool> Ae = Ai;
> + if ( perturbationExpand(Ae) && perturbationValid(Ae, numProj) )
> + // Don't add invalid sets.
> + {
> + perturbationSets.push_back(Ae); // add expanded set to sets
> + minHeap.push(
> + std::make_pair(
> + perturbationScore(Ae, scores),
> + perturbationSets.size() - 1)
> + );
> + }
> +
> + }while (! perturbationValid(Ai, numProj) );//Discard invalid perturbations
</pre>
<p>This is weird spacing; should be <code>} while (!PerturbationValid(Ai, numProj)); // Discard invalid perturbations.</code></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<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#r68645407">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFJWh2PGoqk9EFpynOP2Ee_ZitOj2ks5qQCxRgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFK4Kkn-Rpf1zD7Sfnftzse5hVuySks5qQCxRgaJpZM4IxQW5.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#r68645407"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>