<p>In <a href="https://github.com/mlpack/mlpack/pull/605#discussion_r58573824">src/mlpack/tests/lsh_test.cpp</a>:</p>
<pre style='color:#555'>>
> using namespace std;
> using namespace mlpack;
> using namespace mlpack::neighbor;
>
> +double compute_recall(
> + arma::Mat<size_t> LSHneighbors,
> + arma::Mat<size_t> groundTruth)
</pre>
<p>It's probably better to use const references here: <code>const arma::Mat<size_t>&</code> not <code>arma::Mat<size_t></code>. That will help avoid a copy.</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 or <a href="https://github.com/mlpack/mlpack/pull/605/files/b0e5d740b4835ef4f65320d0dced2930a584bf53#r58573824">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFJnt7sIlo78EMx2COf-ClxdXh6DHks5p0pLcgaJpZM4H_9Kw.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/605/files/b0e5d740b4835ef4f65320d0dced2930a584bf53#r58573824"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>