<p>And another issue:<br>
If I am not mistaken <code>arma::Mat<smth>::Col(n)</code> returns a class that is not derived from <code>arma::Col</code>.<br>
Maybe it is better to use a template instead of <code>arma::Col<ElemType></code>?<br>
i.e.</p>
<pre><code>template<typenameTreeType, typename T>
int RecursiveHilbertValue::CompareWith(TreeType *tree, const T &pt)
</code></pre>
<p>instead of</p>
<pre><code>template<typename TreeType,typename ElemType>
int RecursiveHilbertValue::CompareWith(TreeType *tree, const arma::Col<ElemType> &pt)
</code></pre>
<p>How do you think?</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/664#issuecomment-223320359">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFJDeN2RqnXFQ9aYnFbVHKIwsTDe2ks5qHvEkgaJpZM4IrlzT">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFKTY_ynrT6S01JzBJbTCSnjxUz0rks5qHvEkgaJpZM4IrlzT.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/664#issuecomment-223320359"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>