diff --git a/include/armadillo_bits/arma_config.hpp b/include/armadillo_bits/arma_config.hpp index b03962c2..df6ce331 100644 --- a/include/armadillo_bits/arma_config.hpp +++ b/include/armadillo_bits/arma_config.hpp @@ -209,6 +209,13 @@ struct arma_config #endif + #if (!defined(ARMA_DONT_ZERO_INIT)) + static constexpr bool zero_init = true; + #else + static constexpr bool zero_init = false; + #endif + + static constexpr uword warn_level = (sword(ARMA_WARN_LEVEL) > 0) ? uword(ARMA_WARN_LEVEL) : 0; };