[mlpack-git] [mlpack] static assertion failed: HRectBound can only be used with the LMetric<> metric type. (#525)

Li Dong notifications at github.com
Fri Feb 26 20:59:41 EST 2016


I am using `2.0.1`. I followed the newest tutorial you provided, where it contains:
```
// Construct a RangeSearch object with ball bounds.
RangeSearch<
    metric::EuclideanDistance,
    tree::BinarySpaceTree<bound::BallBound<2>,
                          EmptyStatistic>
> rangeSearch(dataset);
```
but the compiler complains:
```
error: 
      template argument for template type parameter must be a type
    tree::BinarySpaceTree<bound::BallBound<2>, EmptyStatistic> datasetTr...
```

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/525#issuecomment-189554440
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160226/c5cbc608/attachment.html>


More information about the mlpack-git mailing list