<p>In <a href="https://github.com/mlpack/mlpack/pull/708#discussion_r71807579">src/mlpack/core/tree/vantage_point_tree/vantage_point_tree_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; +  // same, we can&#39;t split them.
&gt; +  if (!split)
&gt; +    return;
&gt; +
&gt; +  // Now that we know the split column, we will recursively split the children
&gt; +  // by calling their constructors (which perform this splitting process).
&gt; +  left = new VantagePointTree(this, splitBegin, splitCol - splitBegin, splitter,
&gt; +      maxLeafSize, true);
&gt; +  right = new VantagePointTree(this, splitCol, splitBegin + splitCount - splitCol,
&gt; +      splitter, maxLeafSize, false);
&gt; +
&gt; +  // Calculate parent distances for those two nodes.
&gt; +  arma::vec center, leftCenter, rightCenter;
&gt; +  Center(center);
&gt; +  left-&gt;Center(leftCenter);
&gt; +  right-&gt;Center(rightCenter);
</pre>
<p>Shouldn't the parent distance be identical for both children?  (I think it will just be the distance between this node's vantage point and the left child's vantage point)</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#r71807579">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFO6LWAJp3z7c97Cv56yDDn4HYTo2ks5qYATagaJpZM4I_COp">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFFoRf_MI7Zb-kbdmVW6xqAT_Vkdvks5qYATagaJpZM4I_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#r71807579"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>