<p>In <a href="https://github.com/mlpack/mlpack/pull/686#discussion_r66364472">src/mlpack/methods/ne/genome.hpp</a>:</p>
<pre style='color:#555'>> +
> +namespace mlpack {
> +namespace ne {
> +
> +/**
> + * This class defines a genome.
> + # A genome is consist of a group of genes.
> + */
> +class Genome {
> + public:
> + // Default constructor.
> + Genome() {}
> +
> + // Parametric constructor.
> + Genome(unsigned int id,
> +          std::vector<NeuronGene> neuronGenes,
</pre>
<p>I think it would be a good idea to use a reference here to avoid copying the object:</p>
<p><code><br>
Genome(unsigned int id, const std::vector<NeuronGene>& neuronGenes, ...)<br>
</code></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/686/files/3c8aa62b951f029b3883e9baef1ea556ef5af2d3#r66364472">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFMs7XGTFfn8tz4lTb3rSDNSxs5oyks5qJ1tAgaJpZM4IwJa6">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFMa_6QS05lWCqsW_PQOY6oIFxZG_ks5qJ1tAgaJpZM4IwJa6.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/686/files/3c8aa62b951f029b3883e9baef1ea556ef5af2d3#r66364472"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>