<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'>> + */
> +#ifndef MLPACK_CORE_TREE_BINARY_SPACE_TREE_VANTAGE_POINT_SPLIT_IMPL_HPP
> +#define MLPACK_CORE_TREE_BINARY_SPACE_TREE_VANTAGE_POINT_SPLIT_IMPL_HPP
> +
> +#include "vantage_point_split.hpp"
> +#include <mlpack/core/tree/bounds.hpp>
> +
> +namespace mlpack {
> +namespace tree {
> +
> +template<typename BoundType, typename MatType>
> +bool VantagePointSplit<BoundType, MatType>::
> +SplitNode(const BoundType& bound, MatType& data, const size_t begin,
> + const size_t count, size_t& splitCol)
> +{
> + 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;">—<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>