[mlpack-git] [mlpack/mlpack] edge_boxes: feature extraction (#679)

Ryan Curtin notifications at github.com
Sun Jun 5 12:48:32 EDT 2016


`ind2sub()` and `sub2ind()` came in Armadillo 6.400, which in my opinion is too recent.  Ubuntu 14.04 (which many people are still using) still has Armadillo 4.200.  I think the better solution is just to backport `ind2sub()` and `sub2ind()` into `src/mlpack/core/arma_extend/`.  Basically this comes down to using preprocessor macros to detect the version and then including the function if the version is too old.  Take a look at `src/mlpack/core/arma_extend/typedef.hpp` to see an idea of what I mean (also `src/mlpack/core/arma_extend/arma_extend.hpp`).

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/679#issuecomment-223823573
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160605/c2c3ec6e/attachment.html>


More information about the mlpack-git mailing list