aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/products/Parallelizer.h
diff options
context:
space:
mode:
authorGravatar Trevor Irons <trevorirons@gmail.com>2010-06-01 07:09:40 -0600
committerGravatar Trevor Irons <trevorirons@gmail.com>2010-06-01 07:09:40 -0600
commit4c6d182c42492b94a2415b9f5c1e50d564b2c78e (patch)
tree1683357c02f74913087b5f75d017c0549340901e /Eigen/src/Core/products/Parallelizer.h
parente54faba198a67a6177ca3743a3b884a77aa92512 (diff)
Addressess small compile error with OpenMP
Diffstat (limited to 'Eigen/src/Core/products/Parallelizer.h')
-rw-r--r--Eigen/src/Core/products/Parallelizer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h
index 5e4eb6f1e..f7bdceab7 100644
--- a/Eigen/src/Core/products/Parallelizer.h
+++ b/Eigen/src/Core/products/Parallelizer.h
@@ -71,7 +71,8 @@ void ei_parallelize_gemm(const Functor& func, Index rows, Index cols)
typedef typename Functor::BlockBScalar BlockBScalar;
BlockBScalar* sharedBlockB = new BlockBScalar[func.sharedBlockBSize()];
- GemmParallelInfo<BlockBScalar>* info = new GemmParallelInfo<BlockBScalar>[threads];
+ GemmParallelInfo<BlockBScalar,Index>* info = new
+ GemmParallelInfo<BlockBScalar,Index>[threads];
#pragma omp parallel for schedule(static,1) num_threads(threads)
for(Index i=0; i<threads; ++i)