<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68644784">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>> + actions.rows(numProj, (2 * numProj) - 1) = // last numProj rows
> + arma::ones< arma::Col<short int> > (numProj); // 1s
> +
> +
> + // Acting dimension vector shows which coordinate to transform according to
> + // actions described by actions vector
> + arma::Col<size_t> positions(2 * numProj); // will be [0 1 2 ... 0 1 2 ...]
> + positions.rows(0, numProj - 1) =
> + arma::linspace< arma::Col<size_t> >(0, numProj - 1, numProj);
> + positions.rows(numProj, 2 * numProj - 1) =
> + arma::linspace< arma::Col<size_t> >(0, numProj - 1, numProj);
> +
> + // Special case: No need to create heap for 1 or 2 codes.
> + if (T <= 2)
> + {
> +
</pre>
<p>Extra line</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#r68644784">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFEG92iStpV1k2oe5pKQnHndysMmtks5qQCtXgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFKe66cv90DNL5CSYSNleF_xXpXUHks5qQCtXgaJpZM4IxQW5.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#r68644784"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>