[mlpack-git] [mlpack] Cannot create NeighborSearch for arma:fmat MatType (#506)
Victor
notifications at github.com
Fri Jan 22 15:39:44 EST 2016
I cannot declare type:
```C++
using KnnModel = mlpack::neighbor::NeighborSearch<mlpack::neighbor::NearestNeighborSort,
mlpack::metric::ManhattanDistance,
arma::fmat,
mlpack::tree::KDTree>;
```
error:
```
/usr/include/mlpack/core/tree/hrectbound_implhpp:372:30:
error: no matching function for call to
‘arma::Col<double>::Col(const arma::Op<arma::subview<float>, arma::op_min>)’
arma::vec mins(min(data, 1));
```
Is threre no implementation for float or I'm doing something wrong?
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/506
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160122/57a9d4cb/attachment.html>
More information about the mlpack-git
mailing list