[mlpack-git] [mlpack] DistributionTest/GaussianMultivariateProbabilityTest fails on Armadillo <= 4.400 (#397)

Stephen Tu notifications at github.com
Tue Feb 3 02:53:38 EST 2015


So in trying to compile against armadillo 3.6.0, I get this error

```
In file included from /home/stephentu/armadillo-3.6.0/include/armadillo:103:0,
                 from /home/stephentu/mlpack/src/mlpack/../mlpack/core/arma_extend/arma_extend.hpp:28,
                 from /home/stephentu/mlpack/src/mlpack/../mlpack/prereqs.hpp:49,
                 from /home/stephentu/mlpack/src/mlpack/../mlpack/core.hpp:146,
                 from /home/stephentu/mlpack/src/mlpack/methods/det/dt_utils.hpp:11,
                 from /home/stephentu/mlpack/src/mlpack/methods/det/dt_utils.cpp:8:
/home/stephentu/armadillo-3.6.0/include/armadillo_bits/Mat_meat.hpp: In instantiation of 'arma::Mat<eT>::~Mat() [with eT = long unsigned int]':
/home/stephentu/mlpack/src/mlpack/methods/det/dt_utils.cpp:22:54:   required from here
/home/stephentu/armadillo-3.6.0/include/armadillo_bits/arma_static_check.hpp:57:39: error: static assertion failed: error: incorrect or unsupported type
   #define arma_type_check(condition)  static_assert( !(condition), "error: incorrect or unsupported type" )
                                       ^
/home/stephentu/armadillo-3.6.0/include/armadillo_bits/Mat_meat.hpp:39:3: note: in expansion of macro 'arma_type_check'
   arma_type_check(( is_supported_elem_type<eT>::value == false ));
   ^
src/mlpack/CMakeFiles/mlpack.dir/build.make:560: recipe for target 'src/mlpack/CMakeFiles/mlpack.dir/methods/det/dt_utils.cpp.o' failed
make[2]: *** [src/mlpack/CMakeFiles/mlpack.dir/methods/det/dt_utils.cpp.o] Error 1
CMakeFiles/Makefile2:208: recipe for target 'src/mlpack/CMakeFiles/mlpack.dir/all' failed
make[1]: *** [src/mlpack/CMakeFiles/mlpack.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
```

I wanted to check to see if this was to be expected (does arma-3.6.0 support integer matrices?) 

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


More information about the mlpack-git mailing list