<p>Yes, the tutorial was wrong; it was fixed some time ago in <a href="https://github.com/mlpack/mlpack/commit/79fd639d12a64f3b5471e048ed6d83344b955fea" class="commit-link"><tt>79fd639</tt></a> (but this was apparently after 2.0.1, so these are only updated in the git master branch documentation: <a href="http://mlpack.org/docs/mlpack-git/doxygen.php?doc=rstutorial.html">http://mlpack.org/docs/mlpack-git/doxygen.php?doc=rstutorial.html</a> ; side note: I need to rebuild those with an older version of Doxygen so the CSS styling is more correct...).</p>

<p>I also noticed that the mlpack website had some incorrect links on help.html to old versions of documentation; this is fixed in <a href="https://github.com/mlpack/mlpack.org/commit/abf55c206d9702811794e1f6f71db46f540d6339" class="commit-link">mlpack/mlpack.org@<tt>abf55c2</tt></a> .</p>

<p>So the problem here wasn't the static_assert but instead that the documentation was out of date, and the tree classes are used a bit differently now.  Can you try with the new tutorial code and see if that fixes things?</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-189743938">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFC0Y1-Vh5XVzjHMKwrqiM6LH2H2Nks5poiEtgaJpZM4HidHM.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-189743938"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>