diff --git a/include/armadillo_bits/traits.hpp b/include/armadillo_bits/traits.hpp index 11159712..7b925c34 100644 --- a/include/armadillo_bits/traits.hpp +++ b/include/armadillo_bits/traits.hpp @@ -1046,9 +1046,16 @@ struct is_cx static constexpr bool no = true; }; -// template<> -template -struct is_cx< std::complex > +template<> +struct is_cx< std::complex > + { + static constexpr bool value = true; + static constexpr bool yes = true; + static constexpr bool no = false; + }; + +template<> +struct is_cx< std::complex > { static constexpr bool value = true; static constexpr bool yes = true;