diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-10-16 14:52:50 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-10-16 14:52:50 -0700 |
commit | ae697b471c0d3961ebdb633e30046e5fe31fbe24 (patch) | |
tree | 3ab599542dd7a49f0cf033688874c880f5e5305a /unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h | |
parent | 94e47798f4e462b857a00b4ca60c954c71d16605 (diff) |
Silenced a few compilation warnings
Generalized a TensorMap constructor
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h index 13109f514..686bf5c24 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h @@ -130,8 +130,8 @@ struct TensorEvaluator<const TensorReshapingOp<NewDimensions, ArgType>, Device> Scalar* data() const { return m_impl.data(); } protected: - NewDimensions m_dimensions; TensorEvaluator<ArgType, Device> m_impl; + NewDimensions m_dimensions; }; @@ -381,13 +381,13 @@ struct TensorEvaluator<const TensorSlicingOp<StartIndices, Sizes, ArgType>, Devi return inputIndex; } - Dimensions m_dimensions; array<Index, NumDims> m_outputStrides; array<internal::TensorIntDivisor<Index>, NumDims> m_fastOutputStrides; array<Index, NumDims> m_inputStrides; - const StartIndices m_offsets; TensorEvaluator<ArgType, Device> m_impl; const Device& m_device; + Dimensions m_dimensions; + const StartIndices m_offsets; }; |