diff --git a/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h b/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h index 9dcc9dab7..1264a0270 100644 --- a/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +++ b/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h @@ -24,9 +24,9 @@ class NonBlockingThreadPoolTempl : public Eigen::ThreadPoolInterface { NonBlockingThreadPoolTempl(int num_threads, bool allow_spinning, Environment env = Environment()) - : num_threads_(num_threads), + : env_(env), + num_threads_(num_threads), allow_spinning_(allow_spinning), - env_(env), threads_(num_threads), queues_(num_threads), coprimes_(num_threads),