diff options
author | michiel van dyck <michiel.vandyck@uantwerpen.be> | 2015-05-04 14:48:52 +0000 |
---|---|---|
committer | michiel van dyck <michiel.vandyck@uantwerpen.be> | 2015-05-04 14:48:52 +0000 |
commit | 4b9eddaef82546ede12ceb549096e978b93e791c (patch) | |
tree | e19cfbaf0e3d3f905ed96127cd7afa954b48ef07 /doc | |
parent | 28a4c92cbff88c75b932ce0d091ccaa2b6010724 (diff) |
[Doc] Multi-threading fix
OLD: n = Eigen::nbThreads( n );
NEW: n = Eigen::nbThreads( );
from:
You can query the number of threads that will be used with:
\code
n = Eigen::nbThreads( );
\endcode
Kr Michiel
Diffstat (limited to 'doc')
-rw-r--r-- | doc/TopicMultithreading.dox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/TopicMultithreading.dox b/doc/TopicMultithreading.dox index ba5e26290..ba3547143 100644 --- a/doc/TopicMultithreading.dox +++ b/doc/TopicMultithreading.dox @@ -17,7 +17,7 @@ You can control the number of thread that will be used using either the OpenMP A Unless setNbThreads has been called, Eigen uses the number of threads specified by OpenMP. You can restore this bahavior by calling \code setNbThreads(0); \endcode You can query the number of threads that will be used with: \code -n = Eigen::nbThreads(n); +n = Eigen::nbThreads( ); \endcode You can disable Eigen's multi threading at compile time by defining the EIGEN_DONT_PARALLELIZE preprocessor token. |