<p>In <a href="https://github.com/mlpack/mlpack/pull/699#discussion_r69029630">src/mlpack/core/tree/rectangle_tree/minimal_coverage_sweep_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; +      if (node-&gt;Dataset().col(node-&gt;Point(sorted[i].n))[k] &gt; highBound2[k])
&gt; +        highBound2[k] = node-&gt;Dataset().col(node-&gt;Point(sorted[i].n))[k];
&gt; +    }
&gt; +  }
&gt; +
&gt; +  // Evaluate the cost of the split i.e. calculate the total coverage
&gt; +  // of two resulting nodes.
&gt; +
&gt; +  ElemType area1 = 1.0, area2 = 1.0;
&gt; +  ElemType overlappedArea = 1.0;
&gt; +
&gt; +  for (size_t k = 0; k &lt; node-&gt;Bound().Dim(); k++)
&gt; +  {
&gt; +    area1 *= highBound1[k] - lowerBound1[k];
&gt; +    area2 *= highBound2[k] - lowerBound2[k];
&gt; +  }
</pre>
<p>Ah, I forgot about <code>operator|=()</code>. <br>
<code>overlappedArea</code> is equal to 0. This variable is not needed here.</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/699/files/e165d759f9ae612b9965f70fbbf8abdb19dc8d07#r69029630">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFOZHz_Ds5FIn__0aQYGEEI5bPr0Hks5qQuCWgaJpZM4I3ATw">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFN5JXw23527kfNs_VSYTGwcmYW6oks5qQuCWgaJpZM4I3ATw.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/699/files/e165d759f9ae612b9965f70fbbf8abdb19dc8d07#r69029630"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>