<p>In <a href="https://github.com/mlpack/mlpack/pull/686#discussion_r66362004">src/mlpack/methods/ne/gene.hpp</a>:</p>
<pre style='color:#555'>&gt; +    SIGMOID = 0,
&gt; +    TANH,
&gt; +    LINEAR,
&gt; +    RELU,
&gt; +};
&gt; +
&gt; +/**
&gt; + * This class defines a link gene.
&gt; + */
&gt; +class LinkGene {
&gt; + public:
&gt; +  // Default constructor.
&gt; +  LinkGene() {}
&gt; +
&gt; +  // Parametric constructor.
&gt; +  LinkGene(unsigned int fromNeuronId,
</pre>
<p>Can you use <code>size_t</code> instead of <code>unsigned int</code>. It's guaranteed to be big enough to hold the size of the biggest object on your system. Also, I would recommend to use <code>const</code>here, so <code>const size_t fromNeuronId</code>.</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/686/files/3c8aa62b951f029b3883e9baef1ea556ef5af2d3#r66362004">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFBpLkSWI82Wj8KIbRMV-ev36MBqGks5qJ1UkgaJpZM4IwJa6">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFBS1EgmP625KLai71WGvZ9WL-rgEks5qJ1UkgaJpZM4IwJa6.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#r66362004"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>