diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2019-05-07 18:32:19 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2019-05-07 18:32:19 +0200 |
commit | e6667a7060bbafdf0e0544a09882c86e9e283db1 (patch) | |
tree | 5ea7e3ac5b7ac127086f9463ca4c93200be67ecc /unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h | |
parent | e54dc24d62b3b431b29a4f3e1570e9e3f274c4c0 (diff) |
Fix stupid shadow-warnings (with old clang versions)
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h index 614475fc0..4ddcd982e 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h @@ -245,9 +245,9 @@ template <typename ResScalar, typename LhsScalar, typename RhsScalar, typename RhsMapper> struct TensorContractionKernel { EIGEN_DEVICE_FUNC - TensorContractionKernel(StorageIndex m, StorageIndex k, StorageIndex n, - StorageIndex bm, StorageIndex bk, StorageIndex bn) - : m(m), k(k), n(n), bm(bm), bk(bk), bn(bn) {} + TensorContractionKernel(StorageIndex m_, StorageIndex k_, StorageIndex n_, + StorageIndex bm_, StorageIndex bk_, StorageIndex bn_) + : m(m_), k(k_), n(n_), bm(bm_), bk(bk_), bn(bn_) {} // Pack blocks of Lhs and Rhs into contiguous blocks in memory. typedef LhsScalar* LhsBlock; |