<p>In <a href="https://github.com/mlpack/mlpack/pull/708#discussion_r71805361">src/mlpack/core/tree/vantage_point_tree/vantage_point_split_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; + */
&gt; +#ifndef MLPACK_CORE_TREE_BINARY_SPACE_TREE_VANTAGE_POINT_SPLIT_IMPL_HPP
&gt; +#define MLPACK_CORE_TREE_BINARY_SPACE_TREE_VANTAGE_POINT_SPLIT_IMPL_HPP
&gt; +
&gt; +#include &quot;vantage_point_split.hpp&quot;
&gt; +#include &lt;mlpack/core/tree/bounds.hpp&gt;
&gt; +
&gt; +namespace mlpack {
&gt; +namespace tree {
&gt; +
&gt; +template&lt;typename BoundType, typename MatType&gt;
&gt; +bool VantagePointSplit&lt;BoundType, MatType&gt;::
&gt; +SplitNode(const BoundType&amp; bound, MatType&amp; data, const size_t begin,
&gt; +    const size_t count, size_t&amp; splitCol)
&gt; +{
&gt; +  typename BoundType::ElemType mu;
</pre>
<p>Couldn't you just use <code>ElemType</code> here?  We should be guaranteed that <code>BoundType::ElemType == MatType::elem_type</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/708/files/300882ac96e7a663e3e303ca0c45c14c6fafe1a6#r71805361">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFFAlt6N8KFP4gkp8Ruwq1faZATI7ks5qX__igaJpZM4I_COp">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFLI3vdH-6gWv1P2RkLbCx_YbIPA2ks5qX__igaJpZM4I_COp.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/708/files/300882ac96e7a663e3e303ca0c45c14c6fafe1a6#r71805361"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>