<p>It looks like you're using an old version of the tutorial... is there a link somewhere on mlpack.org that went to that page?  (There shouldn't be, so if there is, I'll fix it.)</p>

<p>Take a look at the most recent version of the tutorial instead:<br>
<a href="http://www.mlpack.org/docs/mlpack-2.0.1/doxygen.php?doc=rstutorial.html">http://www.mlpack.org/docs/mlpack-2.0.1/doxygen.php?doc=rstutorial.html</a></p>

<p>The <code>RangeSearch</code> class should be used like this (now it uses template template parameters):</p>

<pre><code>RangeSearch&lt;LMetric&lt;2, true&gt;, arma::mat, tree::KDTree&gt; rs;
</code></pre>

<p>I'm not sure why the <code>static_assert</code> is triggering.  What version of mlpack are you using?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/525#issuecomment-189290599">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPNODWzheAKdyVe1mBgHt7VdLsaUks5poFKfgaJpZM4HidHM.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/issues/525#issuecomment-189290599"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>