diff --git a/src/mlpack/bindings/R/get_type.hpp b/src/mlpack/bindings/R/get_type.hpp index a39ffc46cb..b9c6e93c80 100644 --- a/src/mlpack/bindings/R/get_type.hpp +++ b/src/mlpack/bindings/R/get_type.hpp @@ -76,7 +76,8 @@ inline std::string GetType( !util::isStdVector::value>::type*, const typename std::enable_if< !data::HasSerialize::value>::type*, - const typename std::enable_if::value>::type*, + const typename std::enable_if< + !arma::is_arma_type::value>::type*, const typename std::enable_if>::value>::type*) { diff --git a/src/mlpack/bindings/go/get_go_type.hpp b/src/mlpack/bindings/go/get_go_type.hpp index 9fac01f417..6d00610c47 100644 --- a/src/mlpack/bindings/go/get_go_type.hpp +++ b/src/mlpack/bindings/go/get_go_type.hpp @@ -77,7 +77,8 @@ inline std::string GetGoType( !util::isStdVector::value>::type*, const typename std::enable_if< !data::HasSerialize::value>::type*, - const typename std::enable_if::value>::type*, + const typename std::enable_if< + !arma::is_arma_type::value>::type*, const typename std::enable_if>::value>::type*) { diff --git a/src/mlpack/bindings/go/get_printable_type.hpp b/src/mlpack/bindings/go/get_printable_type.hpp index 4ec81417ce..0a9593b8cd 100644 --- a/src/mlpack/bindings/go/get_printable_type.hpp +++ b/src/mlpack/bindings/go/get_printable_type.hpp @@ -54,7 +54,8 @@ inline std::string GetPrintableType( !util::isStdVector::value>::type*, const typename std::enable_if< !data::HasSerialize::value>::type*, - const typename std::enable_if::value>::type*, + const typename std::enable_if< + !arma::is_arma_type::value>::type*, const typename std::enable_if>::value>::type*); diff --git a/src/mlpack/bindings/go/get_printable_type_impl.hpp b/src/mlpack/bindings/go/get_printable_type_impl.hpp index 33e85f7c06..3ef255dd8a 100644 --- a/src/mlpack/bindings/go/get_printable_type_impl.hpp +++ b/src/mlpack/bindings/go/get_printable_type_impl.hpp @@ -63,7 +63,8 @@ inline std::string GetPrintableType( !util::isStdVector::value>::type*, const typename std::enable_if< !data::HasSerialize::value>::type*, - const typename std::enable_if::value>::type*, + const typename std::enable_if< + !arma::is_arma_type::value>::type*, const typename std::enable_if>::value>::type*) { diff --git a/src/mlpack/bindings/go/get_type.hpp b/src/mlpack/bindings/go/get_type.hpp index 5d7f736301..d6b6d6af88 100644 --- a/src/mlpack/bindings/go/get_type.hpp +++ b/src/mlpack/bindings/go/get_type.hpp @@ -68,7 +68,8 @@ inline std::string GetType( !util::isStdVector::value>::type*, const typename std::enable_if< !data::HasSerialize::value>::type*, - const typename std::enable_if::value>::type*) + const typename std::enable_if< + !arma::is_arma_type::value>::type*) { return "String"; } diff --git a/src/mlpack/bindings/python/get_cython_type.hpp b/src/mlpack/bindings/python/get_cython_type.hpp index c9a21f1ed0..087b97341e 100644 --- a/src/mlpack/bindings/python/get_cython_type.hpp +++ b/src/mlpack/bindings/python/get_cython_type.hpp @@ -57,7 +57,8 @@ inline std::string GetCythonType( !util::isStdVector::value>::type*, const typename std::enable_if< !data::HasSerialize::value>::type*, - const typename std::enable_if::value>::type*) + const typename std::enable_if< + !arma::is_arma_type::value>::type*) { return "string"; } diff --git a/src/mlpack/bindings/python/get_printable_type.hpp b/src/mlpack/bindings/python/get_printable_type.hpp index eccd123b1a..12e8783235 100644 --- a/src/mlpack/bindings/python/get_printable_type.hpp +++ b/src/mlpack/bindings/python/get_printable_type.hpp @@ -54,7 +54,8 @@ inline std::string GetPrintableType( !util::isStdVector::value>::type*, const typename std::enable_if< !data::HasSerialize::value>::type*, - const typename std::enable_if::value>::type*, + const typename std::enable_if< + !arma::is_arma_type::value>::type*, const typename std::enable_if>::value>::type*); diff --git a/src/mlpack/bindings/python/get_printable_type_impl.hpp b/src/mlpack/bindings/python/get_printable_type_impl.hpp index 836aa9fa1d..d6517c8139 100644 --- a/src/mlpack/bindings/python/get_printable_type_impl.hpp +++ b/src/mlpack/bindings/python/get_printable_type_impl.hpp @@ -62,7 +62,8 @@ inline std::string GetPrintableType( !util::isStdVector::value>::type*, const typename std::enable_if< !data::HasSerialize::value>::type*, - const typename std::enable_if::value>::type*, + const typename std::enable_if< + !arma::is_arma_type::value>::type*, const typename std::enable_if>::value>::type*) {