aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-01-21 14:29:45 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-01-21 14:29:45 +0100
commit34340458cbe33976559bf8fd73a9d4b2f747d611 (patch)
tree60a61d7aa86d78de8a592a2f1fb59a9769f1858a /Eigen
parent690bc950f70c61075d396671e63480bbd64bb297 (diff)
bug #1151: remove useless critical section
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Core/products/GeneralMatrixMatrix.h3
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