<p>In <a href="https://github.com/mlpack/mlpack/pull/663#discussion_r65260598">src/mlpack/methods/lsh/lsh_search.hpp</a>:</p>
<pre style='color:#555'>&gt; +  const std::vector&lt;arma::mat&gt; getProjectionTables() { return projections; }
&gt; +
&gt; +  //! Change the projection tables (Retrains object)
&gt; +  void setProjectionTables(std::vector&lt;arma::mat&gt; projTables)
&gt; +  {
&gt; +    // Simply call Train() with given projection tables
&gt; +    Train(
&gt; +        *referenceSet,
&gt; +        numProj,
&gt; +        numTables,
&gt; +        hashWidth,
&gt; +        secondHashSize,
&gt; +        bucketSize,
&gt; +        projTables
&gt; +        );
&gt; +  };
</pre>
<p>Same here, we should call it <code>Projections(vector&lt;mat&gt;&amp;)</code>.  (Don't forget to make it a reference, otherwise copying is going to happen.  Also I think it should be const.)</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/663/files/934fe082230f7d8b8f9c3e9c1fe2f9fc25ea493e#r65260598">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFFWZIpbDSIcaAoiR38yX08af_qFLks5qHJ_GgaJpZM4Iq6tl">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFBwYYJCKC3PIaYXum4INmzNChDZ_ks5qHJ_GgaJpZM4Iq6tl.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/663/files/934fe082230f7d8b8f9c3e9c1fe2f9fc25ea493e#r65260598"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>