From f1f2ff8208f82680aabd9e191810d0cd10be9048 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Fri, 3 Jun 2016 18:06:37 -0700 Subject: size_t -> int --- unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h index 90fded8ad..9073c611a 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h @@ -172,7 +172,7 @@ struct ThreadPoolDevice { pool_->Schedule(func); } - EIGEN_STRONG_INLINE size_t currentThreadId() const { + EIGEN_STRONG_INLINE int currentThreadId() const { return pool_->CurrentThreadId(); } -- cgit v1.2.3