<p>Nice catch, those should be <code>std::numeric_limits&lt;ElemType&gt;::max()</code>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/commit/8921d0349ed463b8c4aa96e4d6d9fa1aa01f7d6f#commitcomment-16579301">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFEnhGMO44JZVCVFvF_9kmi3WREwJks5prjEqgaJpZM4HsSBq.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/commit/8921d0349ed463b8c4aa96e4d6d9fa1aa01f7d6f#commitcomment-16579301"></link>
  <meta itemprop="name" content="View Commit"></meta>
</div>
<meta itemprop="description" content="View this Commit on GitHub"></meta>
</div>