From 34340458cbe33976559bf8fd73a9d4b2f747d611 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 21 Jan 2016 14:29:45 +0100 Subject: [PATCH] bug #1151: remove useless critical section --- Eigen/src/Core/products/GeneralMatrixMatrix.h | 3 --- 1 file changed, 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