diff --git a/src/wrapper1.cpp b/src/wrapper1.cpp index 91ff85a1..8228b1e4 100644 --- a/src/wrapper1.cpp +++ b/src/wrapper1.cpp @@ -38,17 +38,9 @@ // TODO: remove arma_rng_cxx11_instance when the major version is bumped #include "armadillo_bits/arma_rng_cxx11.hpp" - thread_local arma_rng_cxx11 arma_rng_cxx11_instance; + thread_local arma_rng_cxx11 arma_rng_cxx11_instance; thread_local std::mt19937_64 mt19937_64_instance; - - namespace junk - { - struct mt19937_64_instance_init { inline mt19937_64_instance_init() { mt19937_64_instance.seed(1); } }; - - mt19937_64_instance_init mt19937_64_instance_init_run; - } - } #endif