<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'>> + const std::vector<arma::mat> getProjectionTables() { return projections; }
> +
> + //! Change the projection tables (Retrains object)
> + void setProjectionTables(std::vector<arma::mat> projTables)
> + {
> + // Simply call Train() with given projection tables
> + Train(
> + *referenceSet,
> + numProj,
> + numTables,
> + hashWidth,
> + secondHashSize,
> + bucketSize,
> + projTables
> + );
> + };
</pre>
<p>Same here, we should call it <code>Projections(vector<mat>&)</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;">—<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>