From b786ce8c7254c6179632451141dad5c3432a3cca Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Tue, 2 Oct 2018 18:35:25 +0200 Subject: Fix conversion warning ... again --- unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h index 42c6ae528..24ba3e431 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h @@ -794,7 +794,7 @@ struct TensorEvaluator(k, block_size); // we use 'result' for the first block's partial result. MaxSizeVector block_buffers(num_blocks - 1); - Barrier barrier(num_blocks); + Barrier barrier(internal::convert_index(num_blocks)); auto process_block = [=, &barrier](Scalar* buf, Index begin, Index end) { ::memset(buf, 0, m * n * sizeof(Scalar)); TENSOR_CONTRACTION_DISPATCH( -- cgit v1.2.3