<p>This is not a bug in mlpack as much as an issue with Visual C++ compiler (VC14). The compiler throws an error:<br>
  src\mlpack\methods\neighbor_search\ns_model.hpp(76):<br>
 error C3200: 'TreeTypemlpack::metric::EuclideanDistance,mlpack::neighbor::NeighborSearchStat&lt;mlpack::neighbor::NearestNeighborSort,arma::mat&gt;::DualTreeTraverser':<br>
 invalid template argument for template parameter 'TraversalType', expected a class template </p>

<p>The offending line is:<br>
NSTypetree::KDTree* kdTreeNS;</p>

<p>I could work around it by replacing it with:<br>
NeighborSearch* kdTreeNS;</p>

<p>There are four more errors like that which I have not included.</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/476">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFKp8Zd-jFS_GKdqYO1iuq2NA51zHks5pHl-ggaJpZM4GmBm0.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/476"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>