<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'>&gt;  
&gt;  using namespace std;
&gt;  using namespace mlpack;
&gt;  using namespace mlpack::neighbor;
&gt;  
&gt; +double compute_recall(
&gt; +    arma::Mat&lt;size_t&gt; LSHneighbors, 
&gt; +    arma::Mat&lt;size_t&gt; groundTruth)
</pre>
<p>It's probably better to use const references here: <code>const arma::Mat&lt;size_t&gt;&amp;</code> not <code>arma::Mat&lt;size_t&gt;</code>.  That will help avoid a copy.</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 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>