From 6fcbeeb0138d3418c439f0706c0e644fe8eb645f Mon Sep 17 00:00:00 2001 From: conrad Date: Wed, 17 Mar 2021 16:35:02 +1000 Subject: [PATCH] remove initialiser --- src/wrapper1.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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