diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2019-09-23 15:58:05 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2019-09-23 15:58:05 +0200 |
commit | ba0736fa8e8025f3fa5d44904f26a4c5b22adf71 (patch) | |
tree | 587d860ca9b15ebf4d7d054e1584878ae3546310 /unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | |
parent | 1d5af0693c4d54cf15aa9a787d5765ddfaf706dc (diff) |
Fix (or mask away) conversion warnings introduced in 553caeb6a3bb545aef895f8fc9f219be44679017
.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h index ba3a80f97..0f091b42f 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h @@ -823,7 +823,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT ThreadLocalBlocks<LhsBlock>& blocks = lhs_thread_local_blocks_.local(); Index grain_index = m1 - m * gm_; - return blocks.block(grain_index); + return blocks.block(internal::convert_index<int>(grain_index)); // FIXME better make ThreadLocalBlocks use Eigen::Index? } else { return packed_lhs_[k % (P - 1)][m1]; } @@ -835,7 +835,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT ThreadLocalBlocks<RhsBlock>& blocks = rhs_thread_local_blocks_.local(); Index grain_index = n1 - n * gn_; - return blocks.block(grain_index); + return blocks.block(internal::convert_index<int>(grain_index)); // FIXME better make ThreadLocalBlocks use Eigen::Index? } else { return packed_rhs_[k % (P - 1)][n1]; } |