diff options
author | 2016-01-21 14:29:45 +0100 | |
---|---|---|
committer | 2016-01-21 14:29:45 +0100 | |
commit | 34340458cbe33976559bf8fd73a9d4b2f747d611 (patch) | |
tree | 60a61d7aa86d78de8a592a2f1fb59a9769f1858a /Eigen | |
parent | 690bc950f70c61075d396671e63480bbd64bb297 (diff) |
bug #1151: remove useless critical section
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/products/GeneralMatrixMatrix.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Eigen/src/Core/products/GeneralMatrixMatrix.h b/Eigen/src/Core/products/GeneralMatrixMatrix.h index d830dfb96..d77fc2630 100644 --- a/Eigen/src/Core/products/GeneralMatrixMatrix.h +++ b/Eigen/src/Core/products/GeneralMatrixMatrix.h @@ -145,12 +145,9 @@ static void run(Index rows, Index cols, Index depth, // Release all the sub blocks A'_i of A' for the current thread, // i.e., we simply decrement the number of users by 1 - #pragma omp critical - { for(Index i=0; i<threads; ++i) #pragma omp atomic info[i].users -= 1; - } } } else |